![]() |
aGrUM
0.16.0
|
Base class for all aGrUM's exceptions. More...
#include <exceptions.h>
Public Member Functions | |
const std::string | what () const |
const std::string | errorContent () const |
Returns the message content. More... | |
const std::string | errorType () const |
Returns the error type. More... | |
const std::string | errorCallStack () const |
Returns the error call stack. More... | |
Class constructors & destructors | |
Exception (const std::string aMsg="", const std::string aType="Generic error") | |
Exception (const Exception &e) | |
~Exception () | |
Protected Attributes | |
std::string | _msg |
std::string | _type |
std::string | _callstack |
Base class for all aGrUM's exceptions.
Definition at line 106 of file exceptions.h.
gum::Exception::Exception | ( | const std::string | aMsg = "" , |
const std::string | aType = "Generic error" |
||
) |
gum::Exception::Exception | ( | const Exception & | e | ) |
|
inline |
|
inline |
Returns the error call stack.
Definition at line 147 of file exceptions.h.
References _callstack.
|
inline |
Returns the message content.
Definition at line 135 of file exceptions.h.
References _msg.
Referenced by gum::MultiDimBucket< GUM_SCALAR >::__computeValue(), gum::prm::o3prmr::O3prmrInterpreter::checkObserve(), gum::prm::o3prmr::O3prmrInterpreter::checkQuery(), gum::prm::o3prmr::O3prmrInterpreter::checkSemantic(), gum::prm::o3prmr::O3prmrInterpreter::checkUnobserve(), gum::prm::o3prmr::O3prmrInterpreter::import(), gum::prm::o3prmr::O3prmrInterpreter::interpret(), gum::prm::o3prmr::O3prmrInterpreter::observe(), gum::prm::o3prmr::O3prmrInterpreter::query(), and gum::prm::o3prm::O3prmReader< double >::readFile().
|
inline |
Returns the error type.
Definition at line 141 of file exceptions.h.
References _type.
|
inline |
Definition at line 128 of file exceptions.h.
References _msg.
Referenced by ~Exception().
|
protected |
Definition at line 110 of file exceptions.h.
Referenced by errorCallStack().
|
protected |
Definition at line 108 of file exceptions.h.
Referenced by errorContent(), what(), and ~Exception().
|
protected |
Definition at line 109 of file exceptions.h.
Referenced by errorType().