SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
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 | |
virtual void | raise (void) const |
virtual RWTHRxmsg * | clone (void) const |
RWTHRInvalidPointer (const RWCString &reason="Invalid pointer") |
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 | ( | const RWCString & | reason = "Invalid pointer" |
) |
Constructs an exception with the message string set to reason.
virtual RWTHRxmsg* RWTHRInvalidPointer::clone | ( | void | ) | const [virtual] |
Calls the copy constructor of the runtime (derived) type of self and returns the result.
Reimplemented from RWTHRIllegalUsage.
virtual void RWTHRInvalidPointer::raise | ( | void | ) | const [virtual] |
Throws an exception of the runtime (derived) type of self.
Reimplemented from RWTHRIllegalUsage.
© 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.