33#ifndef BESDapErrorInfo_h_
34#define BESDapErrorInfo_h_ 1
39#include <libdap/Error.h>
52 ErrorCode _error_code;
53 std::string _error_msg;
63 virtual void add_tag(
const std::string &tag_name,
const std::string &tag_data, std::map<std::string, std::string> *attrs = 0);
64 virtual void begin_tag(
const std::string &tag_name, std::map<std::string, std::string> *attrs = 0);
65 virtual void end_tag(
const std::string &tag_name);
67 virtual void add_data(
const std::string &s);
68 virtual void add_space(
unsigned long num_spaces);
69 virtual void add_break(
unsigned long num_breaks);
74 virtual void print(std::ostream &strm);
76 virtual void dump(std::ostream &strm)
const;
silent informational response object
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
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 print(std::ostream &strm)
ignore printing the information
virtual void add_space(unsigned long num_spaces)
add a space to the informational response
virtual void add_data(const std::string &s)
add data to the informational object
virtual void begin_response(const std::string &response_name, BESDataHandlerInterface &dhi)
begin the informational response
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 end_tag(const std::string &tag_name)
end a tagged part of the informational response
virtual void add_exception(BESError &e, const std::string &admin)
ignore exception data to this informational 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 add_break(unsigned long num_breaks)
add a line break to the information
Structure storing information used by the BES to handle the request.
Abstract exception class for the BES with basic string message.
informational response object