SourcePro® API Reference Guide

 
List of all members | Public Member Functions

Base class for thread-compatible exceptions. More...

#include <rw/threxcept/RWTHRxmsg.h>

Inheritance diagram for RWTHRxmsg:
RWxmsg RWCancellation RWTHRClosedException RWTHREscrowAlreadyClosed RWTHRExternalError RWTHRIllegalUsage RWTHRInternalError RWTHROperationAborted RWTHROperationCanceled RWTHROperationNotAvailable RWTHROperationNotImplemented RWTHROperationTerminated RWTHRResourceLimit RWTTHRCompatibleException< Exception >

Public Member Functions

 RWTHRxmsg (void)
 
 RWTHRxmsg (const RWCString &msg)
 
 RWTHRxmsg (const RWTHRxmsg &second)
 
virtual ~RWTHRxmsg (void)
 
virtual RWTHRxmsgclone (void) const
 
RWTHRxmsgoperator= (const RWTHRxmsg &second)
 
virtual void raise (void) const
 
- 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

RWTHRxmsg is the base class for thread-compatible exceptions. A thread-compatible exception has clone() and raise() members that allow the exception to be copied and stored so that it may be rethrown in the future. These capabilities allow derived exceptions to be passed across thread boundaries.

Constructor & Destructor Documentation

RWTHRxmsg::RWTHRxmsg ( void  )

Constructs an exception with an empty message string.

RWTHRxmsg::RWTHRxmsg ( const RWCString msg)

Constructs an exception with the specified message string.

RWTHRxmsg::RWTHRxmsg ( const RWTHRxmsg second)

Copy constructor.

virtual RWTHRxmsg::~RWTHRxmsg ( void  )
virtual

Virtual destructor.

Member Function Documentation

virtual RWTHRxmsg* RWTHRxmsg::clone ( void  ) const
virtual
RWTHRxmsg& RWTHRxmsg::operator= ( const RWTHRxmsg second)

Assignment operator.

virtual void RWTHRxmsg::raise ( void  ) const
virtual

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