A class for error processing.
The Error class is used to transport error information from the server to the client within DODS. It can also be used on the client side only. Errors consist of an error code, string and optionally a function/program. The code can be used to quickly distinguish between certain common errors while the string is used to convey information about the error to the user. The error code should never be displayed to the user. The program or function can be used for error correction controlled by the user. This class is used on both clients and servers. The #print()# and #parse()# methods are used to send the object back and forth.
Error& operator=(const Error &rhs)
bool OK()
bool parse(FILE *fp)
void print(ostream &os = cout)
ErrorCode error_code(ErrorCode ec = undefined_error)
string error_message(string msg = "")
void display_message(Gui *gui = 0)
ProgramType program_type(ProgramType pt = undefined_prog_type)
char* program(char *program = 0)
string correct_error(Gui *gui)
alphabetic index hierarchy of classes
generated by doc++