1 #ifndef DISPLACEEXCEPTION_H 2 #define DISPLACEEXCEPTION_H 15 void raise()
const {
throw *
this; }
21 const char *
what() const noexcept {
22 return mWhat.toStdString().c_str();
38 #endif // DISPLACEEXCEPTION_H int line() const
Definition: displaceexception.h:27
Definition: decisiontreemanager.h:13
DisplaceException * clone() const
Definition: displaceexception.h:16
Definition: displaceexception.h:9
int mLine
Definition: displaceexception.h:33
QString mFile
Definition: displaceexception.h:32
const char * what() const noexcept
Definition: displaceexception.h:21
DisplaceException(QString what, QString file=QString(), int line=-1)
Definition: displaceexception.h:11
QString mWhat
Definition: displaceexception.h:31
QString message() const
Definition: displaceexception.h:18
QString file() const
Definition: displaceexception.h:24