Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Core::PositionOutOfBoundsError Class Reference

#include <POOBoundsError.h>

Inheritance diagram for Core::PositionOutOfBoundsError:

Inheritance graph
[legend]
Collaboration diagram for Core::PositionOutOfBoundsError:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PositionOutOfBoundsError (String *selector, long index)
virtual StringclassName (void) const
 Answer receiver class name.
virtual StringnotifierString (void)

Protected Member Functions

virtual void privRaise (void)
 This method really throws the receiver as an exception.

Constructor & Destructor Documentation

Core::PositionOutOfBoundsError::PositionOutOfBoundsError String selector,
long  index
[inline]
 

Definition at line 36 of file POOBoundsError.h.

00037       : Error(nil, selector, Integer::value(index)) {};


Member Function Documentation

virtual String* Core::PositionOutOfBoundsError::className void   )  const [inline, virtual]
 

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"); }

virtual String* Core::PositionOutOfBoundsError::notifierString void   )  [inline, virtual]
 

Reimplemented from Core::Error.

Definition at line 44 of file POOBoundsError.h.

00045       { return new String("Position is out of valid range"); }

virtual void Core::PositionOutOfBoundsError::privRaise void   )  [inline, protected, virtual]
 

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; }


The documentation for this class was generated from the following file:
Generated on Mon Nov 27 09:51:49 2006 for Smalltalk like C++ Class Library by  doxygen 1.4.2