|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
#include <GeneralOpalException.h>


Public Member Functions | |
| GeneralOpalException (const std::string &meth, const std::string &msg) | |
| GeneralOpalException (const GeneralOpalException &) | |
| ~GeneralOpalException () override | |
| virtual const std::string & | what () const |
| Return the message string for the exception. | |
| virtual const std::string & | where () const |
| Return the name of the method or function which detected the exception. | |
Private Member Functions | |
| GeneralOpalException () | |
Private Attributes | |
| const std::string | message |
| const std::string | method |
Generic OPAL exception for code paths that do not yet expose a more domain-specific exception type.
Prefer dedicated subclasses such as parse, format, or fieldmap errors when adding new code. This type preserves existing generic error semantics while keeping the hierarchy rooted in OpalException.
Definition at line 12 of file GeneralOpalException.h.
| GeneralOpalException::GeneralOpalException | ( | const std::string & | meth, |
| const std::string & | msg | ||
| ) |
Definition at line 3 of file GeneralOpalException.cpp.
| GeneralOpalException::GeneralOpalException | ( | const GeneralOpalException & | rhs | ) |
Definition at line 6 of file GeneralOpalException.cpp.
|
override |
Definition at line 8 of file GeneralOpalException.cpp.
|
private |
|
virtualinherited |
Return the message string for the exception.
Definition at line 31 of file OpalException.cpp.
References OpalException::message.
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), main(), OpalParser::readStatement(), OpalParser::run(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), and TEST_F().
|
virtualinherited |
Return the name of the method or function which detected the exception.
Definition at line 33 of file OpalException.cpp.
References OpalException::method.
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), main(), OpalParser::run(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), and TEST_F().
|
privateinherited |
Definition at line 56 of file OpalException.h.
Referenced by OpalException::what().
|
privateinherited |
Definition at line 57 of file OpalException.h.
Referenced by OpalException::where().