SourcePro® API Reference Guide

 
All Classes Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
RWTHRThreadNotActive Class Reference

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

Public Member Functions

 RWTHRThreadNotActive ()
 
 RWTHRThreadNotActive (const RWCString &reason)
 
virtual RWTHRxmsgclone (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)
 
RWTHRxmsgoperator= (const RWTHRxmsg &second)
 
- Public Member Functions inherited from RWxmsg
 RWxmsg (const char *msg)
 
 RWxmsg (const RWxmsg &msg)
 
 RWxmsg (RWxmsg &&msg)
 
RWxmsgoperator= (const RWxmsg &)
 
RWxmsgoperator= (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)
 

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() [1/2]

RWTHRThreadNotActive::RWTHRThreadNotActive ( )

Constructs an exception with a default message.

◆ RWTHRThreadNotActive() [2/2]

RWTHRThreadNotActive::RWTHRThreadNotActive ( const RWCString & reason)

Constructs an exception with the message string set to reason.

Member Function Documentation

◆ clone()

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.

◆ raise()

virtual void RWTHRThreadNotActive::raise ( void ) const
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.