39 #define DEFAULT_ADMINISTRATOR "support@opendap.org"
67 _ehm_list.push_back( ehm ) ;
96 ehm_iter i = _ehm_list.begin() ;
97 for( ; i != _ehm_list.end(); i++ )
100 int handled = p( e, dhi ) ;
109 if( action_name ==
"" )
110 action_name =
"BES" ;
113 string administrator =
"" ;
117 vector<string> vals ;
118 string key =
"BES.ServerAdministrator" ;
125 if( administrator.empty() )
147 << (
void *)
this <<
")" << endl ;
149 strm <<
BESIndent::LMarg <<
"# registered callbacks: " << _ehm_list.size() << endl ;
virtual BESInfo * build_info()
#define DEFAULT_ADMINISTRATOR
virtual void end_response()
static BESInfoList * TheList()
virtual void add_ehm_callback(p_bes_ehm ehm)
Register an exception handler with the manager.
static BESExceptionManager * TheEHM()
virtual ~BESExceptionManager()
virtual int get_error_type()
Return the return code for this error class.
Abstract exception class for the BES with basic string message.
virtual void add_exception(BESError &e, const string &admin)
add exception information to this informational object
manages exception handling code and default exceptions
static ostream & LMarg(ostream &strm)
int(* p_bes_ehm)(BESError &e, BESDataHandlerInterface &dhi)
void get_value(const string &s, string &val, bool &found)
Retrieve the value of a given key, if set.
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
BESInfo * error_info
error information object
virtual int handle_exception(BESError &e, BESDataHandlerInterface &dhi)
Manage any exceptions thrown during the handling of a request.
static BESKeys * TheKeys()