17 #ifndef __ESCRIPT_ESYSEXCEPTION_H__ 18 #define __ESCRIPT_ESYSEXCEPTION_H__ 46 inline virtual const char*
what()
const throw() {
return msg.c_str(); }
96 #endif // __ESCRIPT_ESYSEXCEPTION_H__ EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:37
The base class for escript exceptions.
Definition: EsysException.h:28
Definition: blocktools.h:68
AssertException(const std::string &str)
Definition: EsysException.h:61
An exception class for assertions within escript.
Definition: EsysException.h:58
Definition: AbstractContinuousDomain.cpp:22
std::string msg
Definition: EsysException.h:51
An exception class for Input/Output errors.
Definition: EsysException.h:68
NotImplementedError(const std::string &str)
Definition: EsysException.h:81
An exception class for features which are not (yet) implemented.
Definition: EsysException.h:78
virtual const char * what() const
Returns a description of the exception.
Definition: EsysException.h:46
IOError(const std::string &str)
Definition: EsysException.h:71
virtual ~EsysException()
Destructor.
Definition: EsysException.h:40
An exception class that signals an invalid argument value.
Definition: EsysException.h:88
ValueError(const std::string &str)
Definition: EsysException.h:91