Utopia 2
Framework for studying models of complex & adaptive systems.
|
The base exception class to derive Utopia-specific exceptions from. More...
#include <exceptions.hh>
Public Member Functions | |
Exception (const std::string &what_arg, const int exit_code_arg=1) | |
Construct an Utopia-specific exception. | |
Exception (const char *what_arg, const int exit_code_arg=1) | |
Construct an Utopia-specific exception. | |
Public Attributes | |
const int | exit_code |
The exit code to use when exiting due to this exception. | |
The base exception class to derive Utopia-specific exceptions from.
|
inlineexplicit |
Construct an Utopia-specific exception.
what_arg | The std::runtime_error what argument |
exit_code | The code that can (and should) be used in case this exceptions leads to exiting of the program. It is accessible via the exit_code member. |
Construct an Utopia-specific exception.
what_arg | The std::runtime_error what argument |
exit_code | The code that can (and should) be used in case this exceptions leads to exiting of the program. It is accessible via the exit_code member. |