goldman.collection.positional
Class PositionOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PositionOutOfBoundsException
public PositionOutOfBoundsException()
PositionOutOfBoundsException
public PositionOutOfBoundsException(int position)