Exception base class for any type of exception within the PUMA libs. More...
#include <PumaException.h>
Public Types | |
enum | exceptionSeverity { inaccuracy, faulty, ignorable, intolerable } |
Public Member Functions | |
std::string | description () const |
PumaException () | |
PumaException (exceptionSeverity severity, std::string &msg) | |
virtual | ~PumaException () throw () |
Private Attributes | |
std::string | message |
exceptionSeverity | severity |
Exception base class for any type of exception within the PUMA libs.
Definition at line 24 of file PumaException.h.
severity of exceptions.
Definition at line 29 of file PumaException.h.
Default constructor.
Definition at line 15 of file PumaException.cpp.
PumaException::PumaException | ( | exceptionSeverity | severity, |
std::string & | msg | ||
) |
Default constructor.
severity | The severity code for this exception |
msg | A description text for this exception |
Definition at line 19 of file PumaException.cpp.
PumaException::~PumaException | ( | ) | throw () [virtual] |
Destructor
Definition at line 26 of file PumaException.cpp.
std::string PumaException::description | ( | ) | const |
Return a information string about the exception
Definition at line 28 of file PumaException.cpp.
std::string puma2::PumaException::message [private] |
message text.
Definition at line 40 of file PumaException.h.
Definition at line 41 of file PumaException.h.