Go to the source code of this file.
Classes | |
class | error |
Class to handle errors and exceptions in a simple, consistent stream-based manner. More... | |
class | IOerrorLocation |
class | IOerror |
Namespaces | |
Foam | |
Namespace for OpenFOAM. | |
Macros | |
#define | FatalErrorIn(functionName) ::Foam::FatalError((functionName), __FILE__, __LINE__) |
Report an error message using Foam::FatalError. More... | |
#define | FatalErrorInFunction FatalErrorIn(FUNCTION_NAME) |
Report an error message using Foam::FatalError. More... | |
#define | FatalIOErrorIn(functionName, ios) ::Foam::FatalIOError((functionName), __FILE__, __LINE__, (ios)) |
Report an error message using Foam::FatalIOError. More... | |
#define | FatalIOErrorInFunction(ios) FatalIOErrorIn(FUNCTION_NAME, ios) |
Report an error message using Foam::FatalIOError. More... | |
#define | SafeFatalIOErrorIn(functionName, ios, msg) |
Report an error message using Foam::FatalIOError. More... | |
#define | SafeFatalIOErrorInFunction(ios, msg) SafeFatalIOErrorIn(FUNCTION_NAME, ios, msg) |
Report an error message using Foam::FatalIOError. More... | |
#define | notImplemented(functionName) |
Issue a FatalErrorIn for a function not currently implemented. More... | |
#define | NotImplemented notImplemented(FUNCTION_NAME) |
Issue a FatalErrorIn for a function not currently implemented. More... | |
Functions | |
Ostream & | operator<< (Ostream &, const error &) |
Ostream & | operator<< (Ostream &, const IOerror &) |
Variables | |
error | FatalError |
IOerror | FatalIOError |
template<class... T> | |
constexpr bool | False = false |
#define FatalErrorIn | ( | functionName | ) | ::Foam::FatalError((functionName), __FILE__, __LINE__) |
Report an error message using Foam::FatalError.
for functionName in file __FILE__ at line __LINE__
#define FatalErrorInFunction FatalErrorIn(FUNCTION_NAME) |
Report an error message using Foam::FatalError.
for FUNCTION_NAME in file __FILE__ at line __LINE__
#define FatalIOErrorIn | ( | functionName, | |
ios | |||
) | ::Foam::FatalIOError((functionName), __FILE__, __LINE__, (ios)) |
Report an error message using Foam::FatalIOError.
for functionName in file __FILE__ at line __LINE__ for a particular IOstream
#define FatalIOErrorInFunction | ( | ios | ) | FatalIOErrorIn(FUNCTION_NAME, ios) |
Report an error message using Foam::FatalIOError.
for FUNCTION_NAME in file __FILE__ at line __LINE__ for a particular IOstream
#define SafeFatalIOErrorIn | ( | functionName, | |
ios, | |||
msg | |||
) |
Report an error message using Foam::FatalIOError.
(or cerr if FatalIOError not yet constructed) for functionName in file __FILE__ at line __LINE__ for a particular IOstream
#define SafeFatalIOErrorInFunction | ( | ios, | |
msg | |||
) | SafeFatalIOErrorIn(FUNCTION_NAME, ios, msg) |
Report an error message using Foam::FatalIOError.
(or cerr if FatalIOError not yet constructed) for functionName in file __FILE__ at line __LINE__ for a particular IOstream
#define notImplemented | ( | functionName | ) |
Issue a FatalErrorIn for a function not currently implemented.
The functionName is printed and then abort is called.
This macro can be particularly useful when methods must be defined to complete the interface of a derived class even if they should never be called for this derived class.
#define NotImplemented notImplemented(FUNCTION_NAME) |
Issue a FatalErrorIn for a function not currently implemented.
The FUNCTION_NAME is printed and then abort is called.
This macro can be particularly useful when methods must be defined to complete the interface of a derived class even if they should never be called for this derived class.