SourcePro® 2022.1 |
SourcePro® API Reference Guide |
Base class for thread-compatible exceptions. More...
#include <rw/threxcept/RWTHRxmsg.h>
Public Member Functions | |
RWTHRxmsg (void) | |
RWTHRxmsg (const RWCString &msg) | |
RWTHRxmsg (const RWTHRxmsg &second) | |
virtual | ~RWTHRxmsg (void) |
virtual RWTHRxmsg * | clone (void) const |
RWTHRxmsg & | operator= (const RWTHRxmsg &second) |
virtual void | raise (void) const |
Public Member Functions inherited from RWxmsg | |
RWxmsg (const char *msg) | |
RWxmsg (const RWxmsg &msg) | |
RWxmsg (RWxmsg &&msg) | |
RWxmsg & | operator= (const RWxmsg &) |
RWxmsg & | operator= (RWxmsg &&msg) |
void | swap (RWxmsg &rhs) |
virtual const char * | why () const |
Additional Inherited Members | |
Protected Member Functions inherited from RWxmsg | |
RWxmsg (const char *msg, bool doCopy) | |
Related Functions inherited from RWxmsg | |
#define | RWTHROW(a) |
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 |
Virtual destructor.
|
virtual |
Calls the copy constructor of the runtime (derived) type of self and returns the result.
Reimplemented in RWCancellation, RWTTHRCompatibleException< Exception >, RWTHRIllegalAccess, RWTHRIllegalUsage, RWTHRInvalidPointer, RWTHRBoundsError, RWTHRExternalError, RWTHROperationAborted, RWTHROperationNotAvailable, RWTHROperationNotSupported, RWTHROperationTerminated, RWTHRResourceLimit, RWTHRThreadActive, RWTHRThreadNotActive, RWTHRClosedException, RWTHRInternalError, RWTHROperationCanceled, RWTHROperationNotImplemented, RWTHRPermissionError, and RWTHREscrowAlreadyClosed.
|
virtual |
Throws an exception of the runtime (derived) type of self.
Reimplemented from RWxmsg.
Reimplemented in RWCancellation, RWTTHRCompatibleException< Exception >, RWTHRIllegalAccess, RWTHRIllegalUsage, RWTHRInvalidPointer, RWTHRBoundsError, RWTHRExternalError, RWTHROperationAborted, RWTHROperationNotAvailable, RWTHROperationNotSupported, RWTHROperationTerminated, RWTHRResourceLimit, RWTHRThreadActive, RWTHRThreadNotActive, RWTHRClosedException, RWTHRInternalError, RWTHROperationCanceled, RWTHROperationNotImplemented, RWTHRPermissionError, and RWTHREscrowAlreadyClosed.
Copyright © 2022 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |