bes
Updated for version 3.20.5
|
33 #include "BESDapErrorInfo.h"
38 BESDapErrorInfo::BESDapErrorInfo(ErrorCode ec,
const string &msg) :
39 BESInfo(), _error_code(ec), _error_msg(msg)
43 BESDapErrorInfo::~BESDapErrorInfo()
76 BESInfo::begin_tag(tag_name);
87 BESInfo::end_tag(tag_name);
149 transmitter->send_text(*
this, dhi);
158 Error new_e(_error_code, _error_msg);
171 strm << BESIndent::LMarg <<
"BESDapErrorInfo::dump - (" << (
void *)
this <<
")" << endl;
174 BESIndent::UnIndent();
virtual void print(ostream &strm)
ignore printing the information
virtual void add_break(unsigned long num_breaks)
add a line break to the information
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void add_space(unsigned long num_spaces)
add a space to the informational response
virtual void dump(ostream &strm) const
dumps information about this object
virtual void add_data(const string &s)
add data to the informational object
informational response object
virtual void begin_tag(const string &tag_name, map< string, string > *attrs=0)
begin a tagged part of the information, information to follow
virtual void dump(ostream &strm) const
Displays debug information about this object.
virtual void add_exception(BESError &e, const string &admin)
ignore exception data to this informational object.
virtual void end_tag(const string &tag_name)
end a tagged part of the informational response
virtual void add_data_from_file(const string &key, const string &name)
ignore data from a file to the informational object.
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit this informational object
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)
add tagged information to the informational response
Structure storing information used by the BES to handle the request.
Abstract exception class for the BES with basic string message.