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

Exception Classes

Module:  Threads   Package:  Interthread Communication, Thread-compatible Exceptions


Thread-compatible exception class RWTHRxmsg

Local Index

Members

ITC Exceptions Header File

#include <rw/itc/RWTHRClosedException.h> 

Thread -compatible Exceptions Header Files

#include <rw/threxcept/RWTHRExternalError.h> 
#include <rw/threxcept/RWTHRIllegalUsage.h> 
#include <rw/threxcept/RWTHRInternalError.h> 
#include <rw/threxcept/RWTHROperationAborted.h> 
#include <rw/threxcept/RWTHROperationCanceled.h> 
#include <rw/threxcept/RWTHROperationNotAvailable.h> 
#include <rw/threxcept/RWTHROperationNotImplemented.h> 
#include <rw/threxcept/RWTHROperationTerminated.h> 
#include <rw/threxcept/RWTHRPermissionError.h> 
#include <rw/threxcept/RWTHRResourceLimit.h> 
#include <rw/threxcept/RWTHRBoundsError.h> 
#include <rw/threxcept/RWTHRIllegalAccess.h> 
#include <rw/threxcept/RWTHRInvalidPointer.h> 
#include <rw/threxcept/RWTHROperationNotSupported.h> 
#include <rw/threxcept/RWTHRThreadActive.h> 
#include <rw/threxcept/RWTHRThreadNotActive.h> 
#include <rw/threxcept/RWTHRxmsg.h> 

Description

The classes listed below are thread-compatible exception classes. A thread compatible exception possesses clone() and raise() members that allow the exception to be copied and stored so that it may be rethrown in the future. This capability allows these exceptions to be passed across thread boundaries. The following classes inherit directly from RWTHRxmsg.

Note that RWTTHRCompatibleException<Exception> also inherits from RWTHRxmsg, but is listed elsewhere because it offers additional functionality.

The following classes inherit from RWTHRIllegalUsage:

All of these classes have the same interface. In the following sections, we will use RWTHRException to stand in for the listed class names.

Public Constructor

RWTHRException(const RWCString &msg);

Public Member Functions

virtual void
raise() const;
virtual RWTHRException*
clone() const;

See Also

RWTHRxmsg, RWTTHRCompatibleException<Exception>, Chapter 5 of the Threads Module User's Guide and Chapter 9 of the Threads Module User's Guide.



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.