java.lang.ArrayIndexOutOfBoundsException (JDK 1.0)
Signals that an array index less than zero or greater than or equal to the array size has been used.
public classArrayIndexOutOfBoundsExceptionextends IndexOutOfBoundsException { //Public ConstructorspublicArrayIndexOutOfBoundsException(); publicArrayIndexOutOfBoundsException(intindex); publicArrayIndexOutOfBoundsException(Strings); }
Hierarchy:
Object->Throwable(Serializable)->Exception->RuntimeException-> IndexOutOfBoundsException->ArrayIndexOutOfBoundsException
Thrown By:
Array.get(), Array.getBoolean(), Array.getByte(), Array.getChar(), Array.getDouble(), Array.getFloat(), Array.getInt(), Array.getLong(), Array.getShort(), Array.set(), Array.setBoolean(), Array.setByte(), Array.setChar(), Array.setDouble(), Array.setFloat(), Array.setInt(), Array.setLong(), Array.setShort()