18 #if !defined escript_EsysAssertException_20040330_H 19 #define escript_EsysAssertException_20040330_H 104 const std::string& date,
105 const std::string& file,
106 int line,
const std::string& errDesc);
void updateMessage()
update m_exceptionMessage after a reason update.
Definition: EsysException.h:202
EsysAssertException exception class.
Definition: EsysAssertException.h:35
A base class for exception classes used within Esys system.
Definition: EsysException.h:31
#define NO_ARG
Definition: esysUtils/src/system_dep.h:56
virtual ~EsysAssertException()
Destructor.
Definition: EsysAssertException.h:89
virtual const std::string & exceptionName() const
Returns the name of the exception.
Definition: EsysAssertException.cpp:29
EsysException & operator=(const EsysException &other)
Assignment needed to override any automatic assignment of std::exception, which can potentially copy ...
Definition: EsysException.cpp:56
EsysAssertException(const std::string &str)
Constructor for the exception.
Definition: EsysAssertException.h:63
#define ESYSUTILS_DLL_API
Definition: esysUtils/src/system_dep.h:31
static const std::string exceptionNameValue
Definition: EsysAssertException.h:113
EsysAssertException()
Default constructor for the exception.
Definition: EsysAssertException.h:49
EsysAssertException(const EsysAssertException &other)
Copy Constructor for the exception.
Definition: EsysAssertException.h:71
#define THROW(ARG)
Definition: esysUtils/src/system_dep.h:53
Definition: Esys_MPI.cpp:32
EsysAssertException & operator=(const EsysAssertException &other)
Definition: EsysAssertException.h:79
EsysAssertException(const char *cstr)
Constructor for the exception.
Definition: EsysAssertException.h:56
EsysException Parent
Definition: EsysAssertException.h:40
static void assertFailure(const std::string &assertion, const std::string &date, const std::string &file, int line, const std::string &errDesc)
Builds a formatted message and throws an EsysAssertException.
Definition: EsysAssertException.cpp:37