rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTHRBoundsError Class Reference
[Thread-compatible Exceptions]

Exception thrown when a specified value is invalid or outide the current legal range. More...

#include <rw/threxcept/RWTHRBoundsError.h>

Inheritance diagram for RWTHRBoundsError:
RWTHRIllegalUsage RWTHRxmsg RWxmsg

List of all members.

Public Member Functions

virtual void raise (void) const
virtual RWTHRxmsgclone (void) const
 RWTHRBoundsError (const RWCString &reason="Bounds error")

Detailed Description

An RWTHRBoundsError exception is thrown when a specified value is invalid or outide the current legal range.


Constructor & Destructor Documentation

RWTHRBoundsError::RWTHRBoundsError ( const RWCString reason = "Bounds error"  ) 

Constructs an exception with the message string set to reason.


Member Function Documentation

virtual RWTHRxmsg* RWTHRBoundsError::clone ( void   )  const [virtual]

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

Reimplemented from RWTHRIllegalUsage.

virtual void RWTHRBoundsError::raise ( void   )  const [virtual]

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

Reimplemented from RWTHRIllegalUsage.

 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.