### The Exceptions Mechanism

Exceptions provide a mechanism for dealing with unusual circumstances in programs. The exception classes have the following characteristics:

- A stack of exception message text strings. These strings allow you to describe the exception in detail.
- An error ID that lets you uniquely identify what error caused the exception.
- A severity code that lets you determine whether the exception can be recovered from or not.
- Information about where the exception was thrown.

The exception classes' member functions allow you to:

- Add information about where the exception was thrown.
- Add text to the description of the exception.
- Get the error ID of the exception.
- Determine if the exception is recoverable.
- Log the exception data.
- Set the error ID of the exception.
- Set the severity of the exception.
- Set a trace function.

Using Exceptions

Using Throw Macros
Interpreting Exceptions
Using Assertion Macros
Using try and catch
Rethrowing Exceptions
Deriving Your Own Exceptions
Tracing Exceptions