Exception: java.lang.ArrayIndexOutOfBoundsException

Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array.
Authors:
@author unascribed
Since:
@since JDK1.0

Inheritance

Superclass tree: Implements:

Methods

  • ArrayIndexOutOfBoundsExceptiontop

    public ArrayIndexOutOfBoundsException()
    Constructs an ArrayIndexOutOfBoundsException with no detail message.
    Google Code Search
    Stack Overflow
  • ArrayIndexOutOfBoundsExceptiontop

    public ArrayIndexOutOfBoundsException(int index)
    Constructs a new ArrayIndexOutOfBoundsException class with an argument indicating the illegal index.
    Parameters:
    @param index the illegal index.
    Google Code Search
    Stack Overflow
  • ArrayIndexOutOfBoundsExceptiontop

    public ArrayIndexOutOfBoundsException(String s)
    Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
    Parameters:
    @param s the detail message.
    Google Code Search
    Stack Overflow