OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
The abstract base class for all exceptions in CLASSIC. More...
#include <ClassicException.h>
Public Member Functions | |
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... | |
Protected Member Functions | |
ClassicException (const std::string &meth, const std::string &msg) | |
The usual constructor. More... | |
ClassicException (const ClassicException &) | |
virtual | ~ClassicException () |
ClassicException () | |
Protected Attributes | |
const std::string | message |
const std::string | method |
The abstract base class for all exceptions in CLASSIC.
Definition at line 29 of file ClassicException.h.
|
protected |
The usual constructor.
Definition at line 28 of file ClassicException.cpp.
|
protected |
Definition at line 33 of file ClassicException.cpp.
|
protectedvirtual |
Definition at line 38 of file ClassicException.cpp.
|
protected |
|
virtual |
Return the message string for the exception.
Definition at line 42 of file ClassicException.cpp.
References message.
Referenced by Expressions::SDeferred< T >::evaluate(), Expressions::ADeferred< T >::evaluate(), PySquarePolynomialMap::exact_solve(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), PySquarePolynomialMap::least_squares(), PyOpal::PyOpalObjectNS::PyOpalObject< C >::make_generic_class(), opalMain(), OpalParser::readStatement(), OpalSimulation::run(), and OpalParser::run().
|
virtual |
Return the name of the method or function which detected the exception.
Definition at line 47 of file ClassicException.cpp.
References method.
Referenced by Expressions::SDeferred< T >::evaluate(), Expressions::ADeferred< T >::evaluate(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), opalMain(), OpalSimulation::run(), and OpalParser::run().
|
protected |
Definition at line 60 of file ClassicException.h.
Referenced by what().
|
protected |
Definition at line 61 of file ClassicException.h.
Referenced by where().