company logo

ErrorHandle - Error handle

The default error handle provides basic functions for writing error messages or information to a log and a protocol file (error.lst and protocol.lst). The location for those files is retrieved from the TRACE option variable. In windows applications messages can be displayed also in a message box by activating GUI-messages.

The error handle can be overloaded in applications or subsystems by more specific error handles. Thus, e.g. database applications usually use the DBErrorHandle, which allows accessing multilingual error definitions in a resource database.

Notes:

For debugging ODABA errors it is suggested setting a break in the ErrorHandle::WriteError() function.