SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWTHROperationTerminated Class Reference

Exception thrown when an operation or its associated object has been terminated. More...

#include <rw/threxcept/RWTHROperationTerminated.h>

Inheritance diagram for RWTHROperationTerminated:
RWTHRxmsg RWxmsg

Public Member Functions

 RWTHROperationTerminated (const RWCString &reason="Operation terminated")
 
virtual RWTHRxmsgclone (void) const
 
virtual void raise (void) const
 
- Public Member Functions inherited from RWTHRxmsg
 RWTHRxmsg (void)
 
 RWTHRxmsg (const RWCString &msg)
 
 RWTHRxmsg (const RWTHRxmsg &second)
 
virtual ~RWTHRxmsg (void)
 
- 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

An RWTHROperationTerminated exception is thrown when an operation, or its associated object, has been terminated.

Constructor & Destructor Documentation

RWTHROperationTerminated::RWTHROperationTerminated ( const RWCString reason = "Operation terminated")

Constructs an exception with the message string set to reason.

Member Function Documentation

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

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

Reimplemented from RWTHRxmsg.

virtual void RWTHROperationTerminated::raise ( void  ) const
virtual

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

Reimplemented from RWTHRxmsg.

Copyright © 2016 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.
Provide feedback to Rogue Wave about its documentation.