Threads Module User's Guide : PART III Foundation Packages : Chapter 9 The Thread‑Compatible Exception Package
Chapter 9 The Thread‑Compatible Exception Package
Introducing the Thread-compatible Exception Package
The Thread-compatible Exception package contains a set of exception classes especially for multithreaded programming. The Essential Tools Module provides the basic error handling facility for Rogue Wave classes. The Thread-compatible Exception package extends the facility by adding the capability for exceptions to be passed across thread boundaries, as required by thread-compatible programs. This discussion assumes that you are familiar with basic Rogue Wave error handling, as described in the Essential Tools Module User’s Guide.
Interpackage Dependencies
The Thread-compatible Exception package depends on the Execution Tracing package of the Threads Module.
Including the Exception Header Files
The rw\threxcept directory contains a header file for each class, named -classname.h. You can also access the declarations for the entire Thread-compatible Exception package through threxcept.h, an umbrella file that includes the header files for all the classes.