|
FEAT 3
Finite Element Analysis Toolbox
|
exception that is thrown if something that is never supposed to happen happens More...
#include <exception.hpp>
Public Member Functions | |
| InternalError (const char *const function, const char *const file, const long line, const String &message_in) | |
| Constructor. More... | |
| InternalError (const String &message_in) | |
| Constructor. More... | |
| const String | message () const |
| returns error message More... | |
| virtual const char * | what () const noexcept override |
| return descriptive exception name More... | |
Private Attributes | |
| const String | _message |
| descriptive error message More... | |
exception that is thrown if something that is never supposed to happen happens
It simply prefixes the exception message with "Internal error: ", otherwise it does not differ from its parent class Exception.
Definition at line 94 of file exception.hpp.
|
inlineexplicit |
Constructor.
| message_in | A short error message. |
Definition at line 104 of file exception.hpp.
|
inline |
Constructor.
| function | the current function name. |
| file | the current file name. |
| line | the current line number. |
| message_in | A short error message. |
Definition at line 117 of file exception.hpp.
|
inlineinherited |
returns error message
Definition at line 73 of file exception.hpp.
References FEAT::Exception::_message.
|
inlineoverridevirtualnoexceptinherited |
return descriptive exception name
Reimplemented in FEAT::Xml::Error.
Definition at line 79 of file exception.hpp.
References FEAT::Exception::_message.
|
privateinherited |
descriptive error message
Definition at line 30 of file exception.hpp.
Referenced by FEAT::Exception::message(), and FEAT::Exception::what().