OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
The base class for all OPAL exceptions. More...
#include <OpalException.h>
Public Member Functions | |
OpalException (const std::string &meth, const std::string &msg) | |
The usual constructor. More... | |
OpalException (const OpalException &) | |
virtual | ~OpalException () |
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... | |
Public Member Functions inherited from ClassicException | |
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 | |
OpalException () | |
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 |
The base class for all OPAL exceptions.
Definition at line 28 of file OpalException.h.
|
explicit |
The usual constructor.
Definition at line 25 of file OpalException.cpp.
OpalException::OpalException | ( | const OpalException & | rhs | ) |
Definition at line 30 of file OpalException.cpp.
|
virtual |
Definition at line 35 of file OpalException.cpp.
|
private |
const std::string & ClassicException::what |
Return the message string for the exception.
Definition at line 34 of file ClassicException.cpp.
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), and OpalSimulation::run().
const std::string & ClassicException::where |
Return the name of the method or function which detected the exception.
Definition at line 37 of file ClassicException.cpp.
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), and OpalSimulation::run().