SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWTHRThreadActive Class Reference

Exception thrown when an attempt is made to start, resume, or release an active runnable or thread. More...

#include <rw/threxcept/RWTHRThreadActive.h>

Inheritance diagram for RWTHRThreadActive:
RWTHRIllegalUsage RWTHRxmsg RWxmsg

Public Member Functions

 RWTHRThreadActive ()
 
 RWTHRThreadActive (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 (void)
 
 RWTHRxmsg (const RWCString &msg)
 
 RWTHRxmsg (const RWTHRxmsg &second)
 
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 when an attempt is made to start, resume, or release a runnable or thread that is already active.

Constructor & Destructor Documentation

RWTHRThreadActive::RWTHRThreadActive ( )

Constructs an exception with a default message.

RWTHRThreadActive::RWTHRThreadActive ( const RWCString reason)

Constructs an exception with the message string set to reason.

Member Function Documentation

virtual RWTHRxmsg* RWTHRThreadActive::clone ( void  ) const
virtual

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

Reimplemented from RWTHRIllegalUsage.

virtual void RWTHRThreadActive::raise ( void  ) const
virtual

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

Reimplemented from RWTHRIllegalUsage.

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.