The DECthreads Exception Package allows you to perform the following
operations on exceptions:
- Declare and initialize an exception object
- Raise an exception
- Define a region of code over which exceptions are caught
- Catch a particular exception or all exceptions
- Reraise the current exception
- Define epilogue actions for a block
- Import a system-defined error status into the program as
an exception
- Extract a system-defined error status from an exception
- Report an exception
- Determine whether two exceptions match
These operations are discussed in the following sections.