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


Public Member Functions | |
| OpalException (const std::string &meth, const std::string &msg) | |
| The usual constructor. | |
| OpalException (const OpalException &) | |
| virtual | ~OpalException () |
| 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 | |
| OpalException () | |
Private Attributes | |
| const std::string | message |
| const std::string | method |
The base class for all OPAL exceptions.
Stores the detecting method and diagnostic message used by the top-level OPAL error handler. Concrete subclasses should keep domain-specific type information and derive from this class directly or indirectly.
Definition at line 30 of file OpalException.h.
|
explicit |
The usual constructor.
Definition at line 24 of file OpalException.cpp.
| OpalException::OpalException | ( | const OpalException & | rhs | ) |
Definition at line 27 of file OpalException.cpp.
|
virtual |
Definition at line 29 of file OpalException.cpp.
|
private |
|
virtual |
Return the message string for the exception.
Definition at line 31 of file OpalException.cpp.
References 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().
|
virtual |
Return the name of the method or function which detected the exception.
Definition at line 33 of file OpalException.cpp.
References method.
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), main(), OpalParser::run(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), and TEST_F().
|
private |
Definition at line 56 of file OpalException.h.
Referenced by what().
|
private |
Definition at line 57 of file OpalException.h.
Referenced by where().