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(int sourceLength,
int index)
Used internally for consistent high-quality error reporting.
|
ArrayIndexOutOfBoundsException(int sourceLength,
int offset,
int count)
Used internally for consistent high-quality error reporting.
|
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.public ArrayIndexOutOfBoundsException(int sourceLength, int index)
public ArrayIndexOutOfBoundsException(int sourceLength, int offset, int count)