public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException
Constructor and Description |
---|
ArrayIndexOutOfBoundsException()
Constructs an
ArrayIndexOutOfBoundsException with no
detail message. |
ArrayIndexOutOfBoundsException(int index)
Constructs a new
ArrayIndexOutOfBoundsException
class with an argument indicating the illegal index. |
ArrayIndexOutOfBoundsException(String s)
Constructs an
ArrayIndexOutOfBoundsException class
with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ArrayIndexOutOfBoundsException()
ArrayIndexOutOfBoundsException
with no
detail message.public ArrayIndexOutOfBoundsException(int index)
ArrayIndexOutOfBoundsException
class with an argument indicating the illegal index.index
- the illegal index.public ArrayIndexOutOfBoundsException(String s)
ArrayIndexOutOfBoundsException
class
with the specified detail message.s
- the detail message.