|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
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. | |
| virtual const std::string & | where () const |
| Return the name of the method or function which detected the exception. | |
Protected Attributes | |
| const std::string | message |
| const std::string | method |
Private Member Functions | |
| EarlyLeaveException ()=delete | |
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.
References ClassicException::ClassicException().
Referenced by EarlyLeaveException().
| EarlyLeaveException::EarlyLeaveException | ( | const EarlyLeaveException & | rhs | ) |
Definition at line 19 of file EarlyLeaveException.cpp.
References ClassicException::ClassicException(), and EarlyLeaveException().
|
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.
References ClassicException::message, and ClassicException::method.
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().
|
protectedinherited |
Definition at line 60 of file ClassicException.h.
Referenced by ClassicException(), what(), and EarlyLeaveException::what().
|
protectedinherited |
Definition at line 61 of file ClassicException.h.
Referenced by ClassicException(), DivideError::DivideError(), EarlyLeaveException::what(), and where().