next up previous contents
Next: A.3 Regular Expressions Up: A Vienna Base System Previous: A.1 Definition of a

A.2 Error System

  The error system of the VBS library uses Cpp macros to allow a variable parameter list. The number of parameters is specified by the macro name. A common error system has many advantages. It allows to have default error handlers with default actions, e.g., to terminate on fatal errors. Furthermore the appearance of errors is common to all programs using it which makes it easier for the user to recognize and interpret the error conditions. As the error system allows multiple handlers for the same error, a logging file may be produced automatically. The error system is initialized with default handlers by the command line interface.



IUE WWW server
Fri Jan 3 17:00:13 MET 1997