TabOutOfRangeException Class Reference
 
 
 
TabOutOfRangeException Class Reference

#include <tab.h>

Inheritance diagram for TabOutOfRangeException:
OutOfRangeException Exception MaxHeapOperators

Class Description

Thrown when an invalid index is passed into Tab::operator[] or Tab::Addr.

For instance with a Tab with 10 items, an index of -1 and 10 is out of bounds since valid index are 0 thru 9.

Public Member Functions

  TabOutOfRangeException (const MCHAR *message)
const MCHAR *  What () const
  Returns the message of the exception.

Constructor & Destructor Documentation

TabOutOfRangeException ( const MCHAR *  message ) [inline]

Member Function Documentation

const MCHAR* What ( ) const [inline, virtual]

Returns the message of the exception.

Reimplemented from OutOfRangeException.

                        {
                                return (mMessage) ? mMessage : _M("MaxSDK::Util::TabOutOfRangeException");
                        }