33 #ifndef BESDapError_h_
34 #define BESDapError_h_ 1
40 using namespace libdap;
53 ErrorCode _error_code;
59 BESDapError(
const string &s,
bool fatal, ErrorCode ec,
const string &file,
int line) :
60 BESError(s, 0, file, line), _error_code(ec)
75 virtual void dump(ostream &strm)
const;
77 static int convert_error_code(
int error_code,
int current_error_type);
81 #endif // BESDapError_h_
#define BES_INTERNAL_ERROR
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_error_code() const
#define BES_INTERNAL_FATAL_ERROR
Structure storing information used by the BES to handle the request.
BESDapError(const string &s, bool fatal, ErrorCode ec, const string &file, int line)