Name

ArrayIndexOutOfBoundsException

Synopsis

Signals that an array index less than zero or greater than or equal to the array size has been used.

java.lang.ArrayIndexOutOfBoundsException

Figure 10-4. java.lang.ArrayIndexOutOfBoundsException

public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
// Public Constructors
     public ArrayIndexOutOfBoundsException( );  
     public ArrayIndexOutOfBoundsException(String s);  
     public ArrayIndexOutOfBoundsException(int index);  
}

Thrown By

Too many methods to list.

Get Java in a Nutshell, 5th Edition 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.