rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTHRThreadNotActive Class Reference
[Thread-compatible Exceptions]

Exception thrown by thread object members that require an active thread when none exists. More...

#include <rw/threxcept/RWTHRThreadNotActive.h>

Inheritance diagram for RWTHRThreadNotActive:
RWTHRIllegalUsage RWTHRxmsg RWxmsg

List of all members.

Public Member Functions

virtual void raise (void) const
virtual RWTHRxmsgclone (void) const
 RWTHRThreadNotActive (const RWCString &reason="No thread is active within the runnable")

Detailed Description

Thrown by a thread object member that requires an active thread for its operation to be performed, but no such thread exists.


Constructor & Destructor Documentation

RWTHRThreadNotActive::RWTHRThreadNotActive ( const RWCString reason = "No thread is active within the runnable"  ) 

Constructs an exception with the message string set to reason.


Member Function Documentation

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

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

Reimplemented from RWTHRIllegalUsage.

virtual void RWTHRThreadNotActive::raise ( void   )  const [virtual]

Throws an exception of the runtime (derived) type of self.

Reimplemented from RWTHRIllegalUsage.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.