FileDocCategorySizeDatePackage
ArrayIndexOutOfBoundsException.javaAPI DocAndroid 1.5 API2197Wed May 06 22:41:04 BST 2009java.lang

ArrayIndexOutOfBoundsException

public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException
Thrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public ArrayIndexOutOfBoundsException()
Constructs a new {@code ArrayIndexOutOfBoundsException} that includes the current stack trace.

since
Android 1.0


                        
      
        super();
    
public ArrayIndexOutOfBoundsException(int index)
Constructs a new {@code ArrayIndexOutOfBoundsException} with the current stack trace and a detail message that is based on the specified invalid {@code index}.

param
index the invalid index.
since
Android 1.0

        super(Msg.getString("K0052", index)); //$NON-NLS-1$
    
public ArrayIndexOutOfBoundsException(String detailMessage)
Constructs a new {@code ArrayIndexOutOfBoundsException} with the current stack trace and the specified detail message.

param
detailMessage the detail message for this exception.
since
Android 1.0

        super(detailMessage);
    
Methods Summary