Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.8 Thread-compatible Exceptions Package

2.8.1 Description

The Thread-compatible Exception package provides a set of exception classes especially for multi-threaded programming. Most of the exceptions produce default error messages, though they can contain other messages, depending on how they are created. See Chapter 9 of the Threads Module User's Guide for more information on the Thread-compatible Exceptions package.

2.8.2 Thread-compatible Exceptions Hierarchy

The hierarchy of error types, shown in Figure 12, is significant. When you specify the type of errors for an error handler to catch, it also catches errors of any derived classes.

Figure 12: Exception class hierarchy

2.8.3 Index of Exception Classes

Table 8 contains a list of the Thread-compatible Exceptions classes and their default messages, if any.

Table 8: Index of Thread-compatible Exceptions classes 

Class Name Description or Default Message

Exception Classes

Lists all Thread-compatible exception classes in the class reference.

RWTHRBoundsError

"Bounds error"

RWTHRExternalError

"External error"

RWTHRIllegalAcces

"Illegal access"

RWTHRIllegalUsage

"Invalid usage"

RWTHRInternalError

"Internal error"

RWTHRInvalidPointer

"Invalid pointer"

RWTHROperationAborted

"Operation aborted"

RWTHROperationCanceled

"Runnable canceled"

RWTHROperationNotAvailable

"Operation not available"

RWTHROperationNotImplemented

"Operation not implemented"

RWTHROperationNotSupported

"Operation not supported"

RWTHROperationTerminated

"Operation terminated"

RWTHRPermissionError

"Permission error"

RWTHRResourceLimit

"Resource limit"

RWTHRThreadActive

"A thread is already active within the runnable"

RWTHRThreadNotActive

"No thread is active within the runnable"

RWTHRxmsg

Base class for thread-compatible exceptions.

RWTTHRCompatibleException<Exception>

A template class that can be used to create a thread-compatible exception from an existing exception class.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.