BESExceptionManager Class Reference

#include <BESExceptionManager.h>

Inheritance diagram for BESExceptionManager:

Inheritance graph
[legend]
Collaboration diagram for BESExceptionManager:

Collaboration graph
[legend]
List of all members.

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 BESExceptionManagerTheEHM ()

Protected Member Functions

 BESExceptionManager ()
virtual ~BESExceptionManager ()

Constructor & Destructor Documentation

BESExceptionManager::BESExceptionManager (  )  [protected]

BESExceptionManager::~BESExceptionManager (  )  [protected, virtual]


Member Function Documentation

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.

Parameters:
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.

Parameters:
e excption to be managed
dhi information related to request and response
Returns:
status after exception is handled
See also:
BESException

BESIncorrectException

BESDatabaseException

BESContainerStorageException

BESKeysException

BESLogException

BESHandlerException

BESResponseException

BESExceptionManager * BESExceptionManager::TheEHM (  )  [static]


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 12:20:02 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.4.7