OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <EarlyLeaveException.h>
Public Member Functions | |
EarlyLeaveException (const std::string &meth, const std::string &msg) | |
EarlyLeaveException (const EarlyLeaveException &) | |
virtual | ~EarlyLeaveException () |
virtual const std::string & | what () const |
Return the message string for the exception. More... | |
virtual const std::string & | where () const |
Return the name of the method or function which detected the exception. More... | |
virtual const std::string & | what () const |
Return the message string for the exception. More... | |
virtual const std::string & | where () const |
Return the name of the method or function which detected the exception. More... | |
Private Member Functions | |
EarlyLeaveException ()=delete | |
Additional Inherited Members | |
Protected Member Functions inherited from ClassicException | |
ClassicException (const std::string &meth, const std::string &msg) | |
The usual constructor. More... | |
ClassicException (const ClassicException &) | |
virtual | ~ClassicException () |
ClassicException () | |
Protected Attributes inherited from ClassicException | |
const std::string | message |
const std::string | method |
This exception class is used to inentionally exit OPAL when no error occurred.
Definition at line 21 of file EarlyLeaveException.h.
|
explicit |
The usual constructor.
[in] | meth | the name of the method or function detecting the exception |
[in] | msg | the message string identifying the exception |
Definition at line 14 of file EarlyLeaveException.cpp.
EarlyLeaveException::EarlyLeaveException | ( | const EarlyLeaveException & | rhs | ) |
Definition at line 19 of file EarlyLeaveException.cpp.
|
virtual |
Definition at line 24 of file EarlyLeaveException.cpp.
|
privatedelete |
|
virtual |
Return the message string for the exception.
Reimplemented from ClassicException.
Definition at line 34 of file ClassicException.cpp.
Referenced by opalMain().
|
virtual |
Return the name of the method or function which detected the exception.
Reimplemented from ClassicException.
Definition at line 37 of file ClassicException.cpp.
Referenced by opalMain().