Name

java.lang.ArrayIndexOutOfBoundsException

Synopsis

This exception is identical to its J2SE counterpart. It signifies that an attempt was made to access an array with either a negative index value or an index value greater than or equal to the array size.

public classArrayIndexOutOfBoundsException extends
   java.lang.IndexOutOfBoundsException {
   // constructors
   public ArrayIndexOutOfBoundsException();
   public ArrayIndexOutOfBoundsException(int index);
   public ArrayIndexOutOfBoundsException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.