Go to the documentation of this file.
18 #ifndef __ESCRIPT_ESYSEXCEPTION_H__
19 #define __ESCRIPT_ESYSEXCEPTION_H__
29 class EsysException :
public std::exception
47 inline virtual const char*
what()
const throw() {
return msg.c_str(); }
59 class AssertException :
public EsysException
97 #endif // __ESCRIPT_ESYSEXCEPTION_H__
std::string msg
Definition: EsysException.h:77
Definition: blocktools.h:68
The base class for escript exceptions.
Definition: EsysException.h:41
An exception class for features which are not (yet) implemented.
Definition: EsysException.h:91
virtual ~EsysException()
Destructor.
Definition: EsysException.h:66
ValueError(const std::string &str)
Definition: EsysException.h:104
An exception class for Input/Output errors.
Definition: EsysException.h:81
NotImplementedError(const std::string &str)
Definition: EsysException.h:94
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:63
IOError(const std::string &str)
Definition: EsysException.h:84
AssertException(const std::string &str)
Definition: EsysException.h:74
Definition: AbstractContinuousDomain.cpp:23
virtual const char * what() const
Returns a description of the exception.
Definition: EsysException.h:72
An exception class that signals an invalid argument value.
Definition: EsysException.h:101