The base class of all exceptions. More...
#include <Error.h>
Inheritance diagram for Core::Error::General:
Collaboration diagram for Core::Error::General:Public Member Functions | |
| General (const std::string &error_message="") | |
| Create an exception. More... | |
| virtual const char * | what () const throw () |
| The type of error. More... | |
| const std::string & | get_message () |
| Details about what caused the error. More... | |
| virtual | ~General () throw () |
| Cleanup if necessary. More... | |
Private Attributes | |
| std::string | message |
The base class of all exceptions.
Supports what() which should return the type of error and a separate get_message() which gives details about the error.
|
inline |
|
inlinevirtual | |||||||||||||
|
inline |
|
inlinevirtual | |||||||||||||
The type of error.
Reimplemented in Core::Error::NonGSLZeroStep, Core::Error::GSLZeroStep, Core::Error::NotImplemented, Core::Error::CommandLine, Core::Error::IO, Core::Error::PathNotFound, Core::Error::BadStellarZone, Core::Error::BadFunctionArguments, Core::Error::Runtime, and Core::Error::ALGLIB.