#include <StDataException.h>

Public Types | |
| enum | ObjectType { STORE, COLLECTION, RECORD, FIELD } |
Public Member Functions | |
| StDataException (const std::string &description, ObjectType object, StUCMException::Severity severity=StUCMException::ERROR) | |
| virtual | ~StDataException () |
| ObjectType | getObjectType () const |
Definition at line 24 of file StDataException.h.
Represents the type of data object where the exception occured.
Definition at line 30 of file StDataException.h.
| StDataException::StDataException | ( | const std::string & | description, | |
| ObjectType | object, | |||
| StUCMException::Severity | severity = StUCMException::ERROR | |||
| ) |
Constructor: Provide description and exception severity.
| descrption | The error message for the exception. | |
| object | The type of object on which the exception occured. | |
| severity | The severity of the exception. Optional, defaults to ERROR. |
Definition at line 15 of file StDataException.cxx.
| StDataException::~StDataException | ( | ) | [virtual] |
Destructor: No-op.
Definition at line 24 of file StDataException.cxx.
| StDataException::ObjectType StDataException::getObjectType | ( | ) | const |
Retrieves the type of object where the exception occured. Useful for ignoring all DataExceptions which did not occur on a particular object (i.e. catch StDataExceptions, but ignore any which did not occur on a STORE)
Definition at line 28 of file StDataException.cxx.
1.5.9