rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTHRxmsg Class Reference
[Thread-compatible Exceptions]

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

#include <rw/threxcept/RWTHRxmsg.h>

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

List of all members.

Public Member Functions

virtual void raise (void) const
virtual RWTHRxmsgclone (void) const
 RWTHRxmsg (void)
 RWTHRxmsg (const RWCString &msg)
 RWTHRxmsg (const RWTHRxmsg &second)
virtual ~RWTHRxmsg (void)

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