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