Module: Threads Package: Thread-compatible Exceptions
RWTHRxmsg RWxmsg
#include <rw/threxcept/RWTHRxmsg.h>
RWTHRxmsg is the base class for thread-compatible exceptions. A thread compatible exception possesses clone() and raise() members that allow the exception to be copied and stored so that it may be rethrown in the future. This capability allows these exceptions to be passed across thread boundaries.
RWTHRxmsg();
Constructs an exception with an empty message string.
RWTHRxmsg(const RWCString &msg);
Constructs an exception with the specified message string.
RWTHRxmsg(const RWTHRxmsg &second);
Copy constructor.
~RWTHRxmsg();
Destructor.
virtual void raise() const;
Throws an exception of the runtime (derived) type of self.
virtual RWTHRxmsg* clone() const;
Calls the copy constructor of the runtime (derived) type of self and returns the result.
Exception Classes, RWTTHRCompatibleException<Exception>
© 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.