Low-level routines throw an exception instead of calling NedErrorStore->add().
Inherits runtime_error.
Public Member Functions | |
NedException (const char *messagefmt,...) | |
NedException (ASTNode *context, const char *messagefmt,...) | |
virtual | ~NedException () throw () |
virtual const char * | what () const override throw () |
Protected Attributes | |
std::string | msg |
NedException | ( | const char * | messagefmt, |
... | |||
) |
The error message can be generated in a printf-like manner.
NedException | ( | ASTNode * | context, |
const char * | messagefmt, | ||
... | |||
) |
The error message can be generated in a printf-like manner.
|
inlinevirtual |
Empty destructor with throw clause for gcc.
|
inlineoverridevirtual |
Returns the text of the error. Redefined from std::exception.
|
protected |