In file InternalErr.h:

class InternalErr : public Error

A class for software fault reporting.

Inheritance:


Public Methods

bool OK()
Is the InternalErr object valid?

Public

Constructors
Constructors for the Error object
InternalErr(string msg)
InternalErr(string msg, string file, int line)
InternalErr(string msg, ProgramType pt, char *pgm)
InternalErr()
InternalErr(const InternalErr ©_from)

Inherited from Error:

Public Methods

Error& operator=(const Error &rhs)
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)

Documentation

The InternalErr class is used to signal that somewhere inside DODS a software fault was found. This class wraps the message text in some boiler plate that asks the error be reported to us (DODS support). NB: This class Adds some text to the message and might, in the future, hold information not also held in Error. However, all Error objects thrown on the server-side of DODS that cannot be resolved (and that's all of them for now, 5/3/99 jhrg) will be sent to the client-side \emph{using Error ojbects}. That is, the information recorded in an InternalErr object will be sent by calling the #print(...)# mfunc of Error.
Constructors
These constructors always set the error code to #internal_error#.

InternalErr(string msg)

InternalErr(string msg, string file, int line)

InternalErr(string msg, ProgramType pt, char *pgm)

InternalErr()

InternalErr(const InternalErr ©_from)

bool OK()
Is the InternalErr object valid?
Returns:
TRUE if the object is valid, FALSE otherwise.


This class has no child classes.
Author:
jhrg

alphabetic index hierarchy of classes


generated by doc++