2014-04-20 20:14:48 -06:00
|
|
|
/* Copyright (c) 2008-2014, Avian Contributors
|
2008-02-19 11:06:52 -07:00
|
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
|
|
for any purpose with or without fee is hereby granted, provided
|
|
|
|
that the above copyright notice and this permission notice appear
|
|
|
|
in all copies.
|
|
|
|
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
|
|
details. */
|
|
|
|
|
2007-07-07 17:47:35 -06:00
|
|
|
package java.lang;
|
|
|
|
|
2009-06-03 16:17:55 -06:00
|
|
|
public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
|
2007-07-07 17:47:35 -06:00
|
|
|
public ArrayIndexOutOfBoundsException(String message, Throwable cause) {
|
|
|
|
super(message, cause);
|
|
|
|
}
|
|
|
|
|
|
|
|
public ArrayIndexOutOfBoundsException(String message) {
|
|
|
|
this(message, null);
|
|
|
|
}
|
|
|
|
|
|
|
|
public ArrayIndexOutOfBoundsException(Throwable cause) {
|
|
|
|
this(null, cause);
|
|
|
|
}
|
|
|
|
|
2015-02-07 21:12:04 +01:00
|
|
|
public ArrayIndexOutOfBoundsException(int idx) {
|
|
|
|
this("Array index out of range: " + idx);
|
|
|
|
}
|
|
|
|
|
2007-07-07 17:47:35 -06:00
|
|
|
public ArrayIndexOutOfBoundsException() {
|
|
|
|
this(null, null);
|
|
|
|
}
|
|
|
|
}
|