rwlogo
SourcePro 11.1

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTHRIllegalAccess Class Reference
[Thread-compatible Exceptions]

Exception thrown when an external or internal thread attempts to use a thread object for which it has no allowed access. More...

#include <rw/threxcept/RWTHRIllegalAccess.h>

Inheritance diagram for RWTHRIllegalAccess:
RWTHRIllegalUsage RWTHRxmsg RWxmsg

List of all members.

Public Member Functions

virtual void raise (void) const
virtual RWTHRxmsgclone (void) const
 RWTHRIllegalAccess (const RWCString &reason="Illegal access")

Detailed Description

RWTHRIllegalAccess is used to report an attempt by an external thread to use a thread object member that is intended for use only by the thread represented by the thread object or when the internal thread attempted to use a thread object member that is intended for use only by threads that were created external to the thread object.


Constructor & Destructor Documentation

RWTHRIllegalAccess::RWTHRIllegalAccess ( const RWCString reason = "Illegal access"  ) 

Constructs an exception with the message string set to reason.


Member Function Documentation

virtual RWTHRxmsg* RWTHRIllegalAccess::clone ( void   )  const [virtual]

Calls the copy constructor of the runtime (derived) type of self and returns the result.

Reimplemented from RWTHRIllegalUsage.

virtual void RWTHRIllegalAccess::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.