SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Base class for thread-compatible exceptions. More...
#include <rw/threxcept/RWTHRxmsg.h>
Public Member Functions | |
RWTHRxmsg (const RWCString &msg) | |
RWTHRxmsg (const RWTHRxmsg &second) | |
RWTHRxmsg (void) | |
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 Symbols 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, RWTHRBoundsError, RWTHRClosedException, RWTHREscrowAlreadyClosed, RWTHRExternalError, RWTHRIllegalAccess, RWTHRIllegalUsage, RWTHRInternalError, RWTHRInvalidPointer, RWTHROperationAborted, RWTHROperationCanceled, RWTHROperationNotAvailable, RWTHROperationNotImplemented, RWTHROperationNotSupported, RWTHROperationTerminated, RWTHRPermissionError, RWTHRResourceLimit, RWTHRThreadActive, RWTHRThreadNotActive, and RWTTHRCompatibleException< Exception >.
|
virtual |
Throws an exception of the runtime (derived) type of self.
Reimplemented from RWxmsg.
Reimplemented in RWCancellation, RWTHRBoundsError, RWTHRClosedException, RWTHREscrowAlreadyClosed, RWTHRExternalError, RWTHRIllegalAccess, RWTHRIllegalUsage, RWTHRInternalError, RWTHRInvalidPointer, RWTHROperationAborted, RWTHROperationCanceled, RWTHROperationNotAvailable, RWTHROperationNotImplemented, RWTHROperationNotSupported, RWTHROperationTerminated, RWTHRPermissionError, RWTHRResourceLimit, RWTHRThreadActive, RWTHRThreadNotActive, and RWTTHRCompatibleException< Exception >.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |