SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Base class for thread-compatible exceptions. More...
#include <rw/threxcept/RWTHRxmsg.h>
Public Member Functions | |
virtual void | raise (void) const |
virtual RWTHRxmsg * | clone (void) const |
RWTHRxmsg (void) | |
RWTHRxmsg (const RWCString &msg) | |
RWTHRxmsg (const RWTHRxmsg &second) | |
virtual | ~RWTHRxmsg (void) |
RWTHRxmsg is the base class for thread-compatible exceptions. A thread-compatible exception has clone() and raise() members that allow the exception to be copied and stored so that it may be rethrown in the future. These capabilities allow derived exceptions to be passed across thread boundaries.
RWTHRxmsg::RWTHRxmsg | ( | void | ) |
Constructs an exception with an empty message string.
RWTHRxmsg::RWTHRxmsg | ( | const RWCString & | msg | ) |
Constructs an exception with the specified message string.
RWTHRxmsg::RWTHRxmsg | ( | const RWTHRxmsg & | second | ) |
Copy constructor.
virtual RWTHRxmsg::~RWTHRxmsg | ( | void | ) | [virtual] |
Virtual destructor.
virtual RWTHRxmsg* RWTHRxmsg::clone | ( | void | ) | const [virtual] |
Calls the copy constructor of the runtime (derived) type of self and returns the result.
Reimplemented in RWTHRClosedException, RWCancellation, RWTHRBoundsError, RWTHRExternalError, RWTHRIllegalAccess, RWTHRIllegalUsage, RWTHRInternalError, RWTHRInvalidPointer, RWTHROperationAborted, RWTHROperationCanceled, RWTHROperationNotAvailable, RWTHROperationNotImplemented, RWTHROperationNotSupported, RWTHROperationTerminated, RWTHRPermissionError, RWTHRResourceLimit, RWTHRThreadActive, RWTHRThreadNotActive, and RWTTHRCompatibleException< Exception >.
virtual void RWTHRxmsg::raise | ( | void | ) | const [virtual] |
Throws an exception of the runtime (derived) type of self.
Reimplemented from RWxmsg.
Reimplemented in RWTHRClosedException, RWCancellation, RWTHRBoundsError, RWTHRExternalError, RWTHRIllegalAccess, RWTHRIllegalUsage, RWTHRInternalError, RWTHRInvalidPointer, RWTHROperationAborted, RWTHROperationCanceled, RWTHROperationNotAvailable, RWTHROperationNotImplemented, RWTHROperationNotSupported, RWTHROperationTerminated, RWTHRPermissionError, RWTHRResourceLimit, RWTHRThreadActive, RWTHRThreadNotActive, and RWTTHRCompatibleException< Exception >.
© 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.