- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- IndexOutOfBoundsException
-
- InvalidIndexException
-
- All Implemented Interfaces:
Serializable
public class InvalidIndexException extends IndexOutOfBoundsException
Represents an exception when a out of bounds index is used.A bit annoying that the IndexOutOfBoundsException class didn't have a constructor with an index argument until Java 9.
- Since:
- 5.0.0
- Version:
- 5.0.0
- Author:
- William Bittle
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidIndexException(int index)
Minimal constructor.
-
Method Summary
-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-