SourcePro® 2022.1 |
SourcePro® API Reference Guide |
Exception thrown when a thread attempts to access a function, method, or value for which it lacks access. More...
#include <rw/threxcept/RWTHRIllegalUsage.h>
Public Member Functions | |
RWTHRIllegalUsage () | |
RWTHRIllegalUsage (const RWCString &reason) | |
virtual RWTHRxmsg * | clone (void) const |
virtual void | raise (void) const |
Public Member Functions inherited from RWTHRxmsg | |
RWTHRxmsg (void) | |
RWTHRxmsg (const RWCString &msg) | |
RWTHRxmsg (const RWTHRxmsg &second) | |
virtual | ~RWTHRxmsg (void) |
RWTHRxmsg & | operator= (const RWTHRxmsg &second) |
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) |
An RWTHRIllegalUsage is thrown when a thread attempts to access a function, method, or value for which it lacks access. For example, this exception would be thrown if a thread attempted to release a mutex that it had not acquired.
RWTHRIllegalUsage::RWTHRIllegalUsage | ( | ) |
Constructs an exception with a default message.
RWTHRIllegalUsage::RWTHRIllegalUsage | ( | const RWCString & | reason | ) |
Constructs an exception with the message string set to reason.
|
virtual |
Calls the copy constructor of the runtime (derived) type of self and returns the result.
Reimplemented from RWTHRxmsg.
Reimplemented in RWTHRIllegalAccess, RWTHRInvalidPointer, RWTHRBoundsError, RWTHROperationNotSupported, RWTHRThreadActive, and RWTHRThreadNotActive.
|
virtual |
Throws an exception of the runtime (derived) type of self.
Reimplemented from RWTHRxmsg.
Reimplemented in RWTHRIllegalAccess, RWTHRInvalidPointer, RWTHRBoundsError, RWTHROperationNotSupported, RWTHRThreadActive, and RWTHRThreadNotActive.
Copyright © 2022 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |