33 #ifndef BESDapError_h_ 34 #define BESDapError_h_ 1 39 #include "BESDataHandlerInterface.h" 61 libdap::ErrorCode d_dap_error_code;
70 BESDapError(
const string &s,
bool fatal, libdap::ErrorCode ec,
const string &file,
int line);
80 return d_dap_error_code;
86 return (
int)d_dap_error_code;
90 virtual void dump(ostream &strm)
const;
101 #endif // BESDapError_h_ int convert_error_code(int error_code, int current_error_type)
converts the libdap error code to the bes error type
virtual void dump(ostream &strm) const
dumps information about this object
Abstract exception class for the BES with basic string message.
error object created from libdap error objects and can handle those errors
virtual int get_dap_error_code() const
Structure storing information used by the BES to handle the request.
virtual int get_bes_error_type()
Return the return code for this error class.