SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWTHRExternalError Class Reference

Exception thrown for errors caused by external sources over which the library has no control. More...

#include <rw/threxcept/RWTHRExternalError.h>

Inheritance diagram for RWTHRExternalError:
RWTHRxmsg RWxmsg RWTHRPermissionError

Public Member Functions

 RWTHRExternalError ()
 
 RWTHRExternalError (const RWCString &reason)
 
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)
 
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

RWTHRExternalError is used to report errors caused by external sources over which the library has no control.

Constructor & Destructor Documentation

RWTHRExternalError::RWTHRExternalError ( )

Constructs an exception with a default message.

RWTHRExternalError::RWTHRExternalError ( const RWCString reason)

Constructs an exception with the message string set to reason.

Member Function Documentation

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

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

Reimplemented from RWTHRxmsg.

Reimplemented in RWTHRPermissionError.

virtual void RWTHRExternalError::raise ( void  ) const
virtual

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

Reimplemented from RWTHRxmsg.

Reimplemented in RWTHRPermissionError.

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