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:80
Definition: blocktools.h:69
The base class for escript exceptions.
Definition: EsysException.h:43
An exception class for features which are not (yet) implemented.
Definition: EsysException.h:93
virtual ~EsysException()
Destructor.
Definition: EsysException.h:69
ValueError(const std::string &str)
Definition: EsysException.h:106
An exception class for Input/Output errors.
Definition: EsysException.h:83
NotImplementedError(const std::string &str)
Definition: EsysException.h:96
EsysException(const std::string &message)
Constructor which creates an Exception with the given message.
Definition: EsysException.h:66
IOError(const std::string &str)
Definition: EsysException.h:86
AssertException(const std::string &str)
Definition: EsysException.h:76
Definition: AbstractContinuousDomain.cpp:23
virtual const char * what() const
Returns a description of the exception.
Definition: EsysException.h:75
An exception class that signals an invalid argument value.
Definition: EsysException.h:103