#include <POOBoundsError.h>
Inheritance diagram for Core::PositionOutOfBoundsError:
Public Member Functions | |
PositionOutOfBoundsError (String *selector, long index) | |
virtual String * | className (void) const |
Answer receiver class name. | |
virtual String * | notifierString (void) |
Protected Member Functions | |
virtual void | privRaise (void) |
This method really throws the receiver as an exception. |
|
Definition at line 36 of file POOBoundsError.h. 00037 : Error(nil, selector, Integer::value(index)) {};
|
|
Answer receiver class name. Because there isn't any standard way to obtain class name this method comes to place. Every class should rewrite this method but many didn't (yet). Reimplemented from Core::Error. Definition at line 40 of file POOBoundsError.h. 00041 { return new String("PositionOutOfBoundsError"); }
|
|
Reimplemented from Core::Error. Definition at line 44 of file POOBoundsError.h. 00045 { return new String("Position is out of valid range"); }
|
|
This method really throws the receiver as an exception. Every subclass MUST reimplement this method, even if it's parent does. This is because of poor object type handling in C++. :-( Reimplemented from Core::Error. Definition at line 49 of file POOBoundsError.h. 00050 { throw this; }
|