Go to the documentation of this file.
17 #ifndef __ESCRIPT_ESYSEXCEPTION_H__
18 #define __ESCRIPT_ESYSEXCEPTION_H__
28 class EsysException :
public std::exception
46 inline virtual const char*
what()
const throw() {
return msg.c_str(); }
58 class AssertException :
public EsysException
96 #endif // __ESCRIPT_ESYSEXCEPTION_H__
std::string msg
Definition: EsysException.h:74
Definition: blocktools.h:67
The base class for escript exceptions.
Definition: EsysException.h:39
An exception class for features which are not (yet) implemented.
Definition: EsysException.h:89
virtual ~EsysException()
Destructor.
Definition: EsysException.h:63
ValueError(const std::string &str)
Definition: EsysException.h:102
An exception class for Input/Output errors.
Definition: EsysException.h:79
NotImplementedError(const std::string &str)
Definition: EsysException.h:92
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:60
IOError(const std::string &str)
Definition: EsysException.h:82
AssertException(const std::string &str)
Definition: EsysException.h:72
Definition: AbstractContinuousDomain.cpp:22
virtual const char * what() const
Returns a description of the exception.
Definition: EsysException.h:69
An exception class that signals an invalid argument value.
Definition: EsysException.h:99