goldman.collection.positional
Class PositionOutOfBoundsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by goldman.collection.positional.PositionOutOfBoundsException
All Implemented Interfaces:
Serializable

public class PositionOutOfBoundsException
extends RuntimeException

A PositionOutOfBoundsException is thrown when there is an attempt to access a position that does not exists (i.e., < 0 or ≥ size).

See Also:
Serialized Form

Constructor Summary
PositionOutOfBoundsException()
           
PositionOutOfBoundsException(int position)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionOutOfBoundsException

public PositionOutOfBoundsException()

PositionOutOfBoundsException

public PositionOutOfBoundsException(int position)