java.lang.IndexOutOfBoundsException
java.lang.RuntimeException
java.lang.ArrayIndexOutOfBoundsException, java.lang.StringIndexOutOfBoundsException
None
JDK 1.0 or later
The appropriate subclass of IndexOutOfBoundsException is thrown when an array or string index is out of bounds.
public class java.lang.IndexOutOfBoundsException extends java.lang.RuntimeException { // Constructors public IndexOutOfBoundsException(); public IndexOutOfBoundsException(String s); }
This constructor creates an IndexOutOfBoundsException with no associated detail message.
The detail message.
This constructor creates an IndexOutOfBoundsException with the specified detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
ArrayIndexOutOfBoundsException, Exception, RuntimeException, StringIndexOutOfBoundsException, Throwable
This HTML Help has been published using the chm2web software. |