SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Exception thrown by pointer classes for attempts to deference a pointer that is not pointing to anything. More...
#include <rw/threxcept/RWTHRInvalidPointer.h>
Public Member Functions | |
RWTHRInvalidPointer () | |
RWTHRInvalidPointer (const RWCString &reason) | |
virtual RWTHRxmsg * | clone (void) const |
virtual void | raise (void) const |
Public Member Functions inherited from RWTHRIllegalUsage | |
RWTHRIllegalUsage () | |
RWTHRIllegalUsage (const RWCString &reason) | |
Public Member Functions inherited from RWTHRxmsg | |
RWTHRxmsg (const RWCString &msg) | |
RWTHRxmsg (const RWTHRxmsg &second) | |
RWTHRxmsg (void) | |
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 Symbols inherited from RWxmsg | |
#define | RWTHROW(a) |
Thrown by pointer classes when an attempt is made to dereference a pointer that is not pointing to anything. Typically thrown by operator*
and operator->
members.
RWTHRInvalidPointer::RWTHRInvalidPointer | ( | ) |
Constructs an exception with a default message.
RWTHRInvalidPointer::RWTHRInvalidPointer | ( | 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 RWTHRIllegalUsage.
|
virtual |
Throws an exception of the runtime (derived) type of self.
Reimplemented from RWTHRIllegalUsage.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |