java · java/IndexOutOfBoundsException
IndexOutOfBoundsException
IndexOutOfBoundsException
The base class for out-of-bounds index exceptions. Thrown directly by List and other java.util collections.
Also defined in
- kotlin IndexOutOfBoundsException Thrown when an index used to access a list, array, or other indexed collection is negative or greater than or equal to the collection's size.
- scala IndexOutOfBoundsException Thrown when a sequence is accessed at an index that is negative or greater than or equal to its length. Applies to Array, Vector, List, and other indexed collections.