#include <Exception.h>


Public Member Functions | |
| IndexOutOfBoundsException (const String &msg, const String &sourceFile, int line, long index, long limit) | |
| IndexOutOfBoundsException (const IndexOutOfBoundsException &) | |
| virtual | ~IndexOutOfBoundsException () |
| virtual String | getClassName () const |
| virtual String | toString () const |
Public Attributes | |
| const long | index |
| const long | limit |
Private Member Functions | |
| bool | operator== (const IndexOutOfBoundsException &) const |
| bool | operator!= (const IndexOutOfBoundsException &e) const |
| const IndexOutOfBoundsException & | operator= (const IndexOutOfBoundsException &) |
This exception may be thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
Definition at line 137 of file Exception.h.
| IndexOutOfBoundsException::IndexOutOfBoundsException | ( | const String & | msg, |
| const String & | sourceFile, | ||
| int | line, | ||
| long | index, | ||
| long | limit | ||
| ) | [explicit] |
Definition at line 203 of file Exception.cpp.
| IndexOutOfBoundsException::IndexOutOfBoundsException | ( | const IndexOutOfBoundsException & | e ) |
Definition at line 207 of file Exception.cpp.
| IndexOutOfBoundsException::~IndexOutOfBoundsException | ( | ) | [virtual] |
Definition at line 222 of file Exception.cpp.
| String IndexOutOfBoundsException::getClassName | ( | ) | const [virtual] |
Returns the name of the class
Reimplemented from alize::Exception.
Definition at line 219 of file Exception.cpp.
| bool alize::IndexOutOfBoundsException::operator!= | ( | const IndexOutOfBoundsException & | e ) | const [private] |
Not implemented
| const IndexOutOfBoundsException& alize::IndexOutOfBoundsException::operator= | ( | const IndexOutOfBoundsException & | ) | [private] |
Not implemented
| bool alize::IndexOutOfBoundsException::operator== | ( | const IndexOutOfBoundsException & | ) | const [private] |
| String IndexOutOfBoundsException::toString | ( | ) | const [virtual] |
This method is frequently overridden in the derived classes. If it is not, it returns the name of the class of the object and the address of the object
Reimplemented from alize::Exception.
Definition at line 212 of file Exception.cpp.
References index, limit, and alize::String::valueOf().
| const long alize::IndexOutOfBoundsException::index |
Definition at line 148 of file Exception.h.
Referenced by toString().
| const long alize::IndexOutOfBoundsException::limit |
Definition at line 149 of file Exception.h.
Referenced by toString().
1.7.2