[Home] [Prev] [Next] [Up]


YAAF_core: Error Management

There are basically three classes which are defined to help assist in error management.

Errors are managed using a 'terminate' model: when an error occurs, this throws the error up until an error handler processes the event.

These errors add an additional field, the DisplayError method, which is invoked when the error is caught by the YAAF event loop to display the error message associated with this error.

There are three classes associated with YAAF error management. These are:

XError

The root error management class from which all YAAF errors are derived.

XAbort

The abort error; this is passed when something is aborted, and does not display an error.

XPostError

The error reporting class which allows random messages to be reported. This is the primary way internal errors are reported by the YAAF libraries.


[Home] [Prev] [Next] [Up]