#include <BESExceptionManager.h>
Inheritance diagram for BESExceptionManager:
Public Member Functions | |
virtual void | add_ehm_callback (p_bes_ehm ehm) |
virtual int | handle_exception (BESException &e, BESDataHandlerInterface &dhi) |
Manage any exceptions thrown during the whole process. | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
Static Public Member Functions | |
static BESExceptionManager * | TheEHM () |
Protected Member Functions | |
BESExceptionManager () | |
virtual | ~BESExceptionManager () |
BESExceptionManager::BESExceptionManager | ( | ) | [protected] |
BESExceptionManager::~BESExceptionManager | ( | ) | [protected, virtual] |
void BESExceptionManager::add_ehm_callback | ( | p_bes_ehm | ehm | ) | [virtual] |
void BESExceptionManager::dump | ( | ostream & | strm | ) | const [virtual] |
dumps information about this object
Displays the pointer value of this instance along with the number of registered exception handler callbacks. Currently there is no way of telling what callbacks are registered, as no names are passed to the add method.
strm | C++ i/o stream to dump the information to |
Implements BESObj.
int BESExceptionManager::handle_exception | ( | BESException & | e, | |
BESDataHandlerInterface & | dhi | |||
) | [virtual] |
Manage any exceptions thrown during the whole process.
Specific responses are generated given a specific Exception caught.
e | excption to be managed | |
dhi | information related to request and response |
BESIncorrectException
BESExceptionManager * BESExceptionManager::TheEHM | ( | ) | [static] |