33 #include "BESDapErrorInfo.h" 38 BESDapErrorInfo::BESDapErrorInfo( ErrorCode ec,
const string &msg )
45 BESDapErrorInfo::~BESDapErrorInfo()
72 map<string,string> * )
83 map<string,string> * )
85 BESInfo::begin_tag( tag_name ) ;
97 BESInfo::end_tag( tag_name ) ;
167 transmitter->send_text( *
this, dhi ) ;
177 Error new_e( _error_code, _error_msg ) ;
178 new_e.print( strm ) ;
191 strm << BESIndent::LMarg <<
"BESDapErrorInfo::dump - (" 192 << (
void *)
this <<
")" << endl ;
193 BESIndent::Indent() ;
195 BESIndent::UnIndent() ;
virtual void dump(ostream &strm) const
Displays debug information about this object.
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit this informational 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 add_break(unsigned long num_breaks)
add a line break to the information
virtual void add_tag(const string &tag_name, const string &tag_data, map< string, string > *attrs=0)
add tagged information to the informational response
informational response object
Abstract exception class for the BES with basic string message.
virtual void print(ostream &strm)
ignore printing the information
virtual void add_space(unsigned long num_spaces)
add a space to the informational response
virtual void add_exception(BESError &e, const string &admin)
ignore exception data to this informational object.
Structure storing information used by the BES to handle the request.
virtual void add_data(const string &s)
add data to the informational object
virtual void begin_response(const string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
virtual void dump(ostream &strm) const
dumps information about this object
virtual void add_data_from_file(const string &key, const string &name)
ignore data from a file to the informational object.
virtual void end_tag(const string &tag_name)
end a tagged part of the informational response