|
| | IOerror (const char *title) |
| | Construct from title string. More...
|
| |
| | IOerror (const std::string &title) |
| | Construct from title string. More...
|
| |
| | IOerror (const dictionary &errDict) |
| | Construct from dictionary. More...
|
| |
| virtual | ~IOerror () noexcept |
| | Destructor. More...
|
| |
| const string & | ioFileName () const noexcept |
| | The currently defined IO name for output messages. More...
|
| |
| label | ioStartLineNumber () const noexcept |
| | The currently defined IO start-line number for output messages. More...
|
| |
| label | ioEndLineNumber () const noexcept |
| | The currently defined IO end-line number. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, string ioFileName, const label ioStartLineNumber=-1, const label ioEndLineNumber=-1) |
| | Define basic print message. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const IOstream &ioStream) |
| | Define basic print message for IO stream. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const dictionary &dict) |
| | Define basic print message for dictionary entries. Uses the dictionary::relativeName() on output. More...
|
| |
| OSstream & | operator() (const std::string &where, const IOstream &ioStream) |
| | Define basic print message for IO stream, independent of a source-file reference. Uses the dictionary::relativeName() on output. More...
|
| |
| OSstream & | operator() (const std::string &where, const dictionary &dict) |
| | Define basic print message for dictionary entries, independent of a source-file reference. Uses the dictionary::relativeName() on output. More...
|
| |
| | operator dictionary () const |
| | Extract a dictionary representation of the error information. More...
|
| |
| void | exit (const int errNo=1) |
| | Exit : can be called for any error to exit program. More...
|
| |
| void | abort () |
| | Abort : used to stop code for fatal errors. More...
|
| |
| virtual void | write (Ostream &os, const bool withTitle=true) const |
| | Print error message. More...
|
| |
| | error (const char *title) |
| | Construct from title string. More...
|
| |
| | error (const std::string &title) |
| | Construct from title string. More...
|
| |
| | error (const dictionary &errDict) |
| | Construct from dictionary. More...
|
| |
| | error (const error &err) |
| | Copy construct. More...
|
| |
| virtual | ~error () noexcept |
| | Destructor. More...
|
| |
| string | message () const |
| | The accumulated error message. More...
|
| |
| void | clear () const |
| | Clear any accumulated error messages. More...
|
| |
| const string & | functionName () const noexcept |
| | The currently defined function name for output messages. More...
|
| |
| const string & | sourceFileName () const noexcept |
| | The currently defined source-file name for output messages. More...
|
| |
| int | sourceFileLineNumber () const noexcept |
| | The currently defined source-file line number for output messages. More...
|
| |
| bool | throwing () const noexcept |
| | Return the current exception throwing state (on or off) More...
|
| |
| bool | throwing (const bool on) noexcept |
| | Specify exception throwing state (on or off) More...
|
| |
| OSstream & | stream () |
| | Return OSstream for output operations. More...
|
| |
| | operator OSstream & () |
| | Implicit cast to OSstream for << operations. More...
|
| |
| OSstream & | operator() () |
| | Explicit convert to OSstream for << operations. More...
|
| |
| OSstream & | operator() (string functionName, const char *sourceFileName=nullptr, const int sourceFileLineNumber=-1) |
| | Define basic print message with originating function name, optionally with 'source file, line number'. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName=nullptr, const int sourceFileLineNumber=-1) |
| | Define basic print message with originating function name, optionally with 'source file, line number'. More...
|
| |
| | operator dictionary () const |
| | Extract a dictionary representation of the error information. More...
|
| |
| void | exit (const int errNo=1) |
| | Exit : can be called for any error to exit program. More...
|
| |
| void | abort () |
| | Abort : used to stop code for fatal errors. More...
|
| |
| bool | throwExceptions (const bool on=true) noexcept |
| | Specify exception throwing state (default is on) More...
|
| |
| bool | dontThrowExceptions () noexcept |
| | Deactivate exception throwing. More...
|
| |
| | messageStream (errorSeverity severity, int maxErrors=0, bool use_stderr=false) |
| | Construct untitled with given characteristics. More...
|
| |
| | messageStream (const char *title, errorSeverity severity, int maxErrors=0, bool use_stderr=false) |
| | Construct from components. More...
|
| |
| | messageStream (string title, errorSeverity severity, int maxErrors=0, bool use_stderr=false) |
| | Construct from components. More...
|
| |
| | messageStream (const dictionary &dict) |
| | Construct from dictionary as Fatal, extracting 'title'. More...
|
| |
| const string & | title () const noexcept |
| | The title of this error type. More...
|
| |
| int | maxErrors () const noexcept |
| | The maximum number of errors before program termination. More...
|
| |
| int | maxErrors (int nErrors) noexcept |
| | Set the maximum number of errors before program termination. More...
|
| |
| OSstream & | stream (OSstream *alternative=nullptr, int communicator=-1) |
| | Return OSstream for output operations. More...
|
| |
| OSstream & | masterStream (int communicator) |
| | Return OSstream for output operations on the master process only, Snull on other processes. More...
|
| |
| std::ostream & | stdStream () |
| | Return std::ostream for output operations. More...
|
| |
| OSstream & | deprecated (const int afterVersion, const char *functionName=nullptr, const char *sourceFileName=nullptr, const int sourceFileLineNumber=0) |
| | Report deprecation (after specified API version) with 'From function-name, source file, line number'. More...
|
| |
| | operator OSstream & () |
| | Implicit cast to OSstream for << operations. More...
|
| |
| OSstream & | operator() () |
| | Explicitly convert to OSstream for << operations. More...
|
| |
| OSstream & | operator() (const std::string &functionName, const char *sourceFileName=nullptr, const int sourceFileLineNumber=0) |
| | Report 'From function-name', optionally with 'source file, line number'. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName=nullptr, const int sourceFileLineNumber=0) |
| | Report 'From function-name', optionally with 'source file, line number'. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const std::string &ioFileName, const label ioStartLineNumber=-1, const label ioEndLineNumber=-1) |
| | Report 'From function-name, source file, line number' as well as io-file name and location. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const IOstream &) |
| | Report 'From function-name, source file, line number' as well as io-file name and location. More...
|
| |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const dictionary &) |
| | Report 'From function-name, source file, line number' as well as io-file name and location. More...
|
| |
Report an I/O error.
Definition at line 367 of file error.H.