HydraExpress™ C++ API Reference Guide

Product Documentation:
   HydraExpress C++
Documentation Home
List of all members | Public Member Functions
rwsf::OutOfBoundsException Class Reference

Indicates that a user attempted to access an out-of-range element. More...

#include <rwsf/core/OutOfBoundsException.h>

Inheritance diagram for rwsf::OutOfBoundsException:
rwsf::Exception

Public Member Functions

 OutOfBoundsException (const rwsf::ExceptionInfo &eInfo)
 
 OutOfBoundsException (const rwsf::ExceptionInfo &eInfo, const rwsf::LocalizedMessage &msg)
 
virtual ~OutOfBoundsException () throw ()
 
virtual Exceptionclone (void) const
 
virtual void raise (void) const
 
- Public Member Functions inherited from rwsf::Exception
 Exception (const ExceptionInfo &eInfo)
 
 Exception (const char *msg)
 
 Exception (const std::string &msg)
 
 Exception (const rwsf::ExceptionInfo &eInfo, const LocalizedMessage &msg)
 
 Exception (const Exception &)
 
virtual ~Exception () throw ()
 
const char * getFileName () const
 
const char * getFunctionName () const
 
unsigned long getLineNumber () const
 
virtual bool operator!= (const Exception exc2)
 
Exceptionoperator= (const Exception &m)
 
virtual bool operator== (const Exception exc2)
 
virtual const char * what () const throw ()
 

Additional Inherited Members

Detailed Description

OutOfBoundsException indicates that a user attempted to access an element outside of the range defined by the associated data structure.

Constructor & Destructor Documentation

rwsf::OutOfBoundsException::OutOfBoundsException ( const rwsf::ExceptionInfo eInfo)

Constructs an OutOfBoundsException with an empty message.

rwsf::OutOfBoundsException::OutOfBoundsException ( const rwsf::ExceptionInfo eInfo,
const rwsf::LocalizedMessage &  msg 
)

Constructs an OutOfBoundsException with the given msg.

virtual rwsf::OutOfBoundsException::~OutOfBoundsException ( )
throw (
)
virtual

Destructor.

Member Function Documentation

virtual Exception* rwsf::OutOfBoundsException::clone ( void  ) const
virtual

Creates a new copy of self on the heap. Overridden in derived classes to construct an instance of the correct derived type. It is up to the user to ensure that the returned Exception object is deleted.

Reimplemented from rwsf::Exception.

virtual void rwsf::OutOfBoundsException::raise ( void  ) const
virtual

Throws self. Overridden in derived classes to throw the correct derived type.

Reimplemented from rwsf::Exception.

Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is registered trademark of Rogue Wave Software, Inc. in the United States and other countries, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.