#include <StUCMException.h>

Public Types | |
| enum | Severity { WARN, ERROR, FATAL } |
Public Member Functions | |
| StUCMException (const std::string &description, Severity severity=ERROR) | |
| virtual | ~StUCMException () |
| virtual std::string | getDescription () const |
| virtual Severity | getSeverity () const |
Protected Member Functions | |
| StUCMException (Severity severity=ERROR) | |
| void | setDescription (const std::string &description) |
Definition at line 20 of file StUCMException.h.
Represents the available levels of exception severity.
Definition at line 25 of file StUCMException.h.
| StUCMException::StUCMException | ( | const std::string & | description, | |
| Severity | severity = ERROR | |||
| ) |
Constructor: Provide description of the error, and optionally a severity.
| descrption | The error message for the exception. | |
| severity | The severity of the exception. Optional, defaults to ERROR. |
Definition at line 14 of file StUCMException.cxx.
| StUCMException::~StUCMException | ( | ) | [virtual] |
Destructor: No-op
Definition at line 26 of file StUCMException.cxx.
| std::string StUCMException::getDescription | ( | ) | const [virtual] |
Retrieve the error message.
Definition at line 31 of file StUCMException.cxx.
| StUCMException::Severity StUCMException::getSeverity | ( | ) | const [virtual] |
Retrieve the exception severity.
Definition at line 38 of file StUCMException.cxx.
1.5.9