java.lang
IndexOutOfBoundsException
Declarationpublic class IndexOutOfBoundsException extends RuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IndexOutOfBoundsException
Direct Known Subclasses: ArrayIndexOutOfBoundsException,
StringIndexOutOfBoundsException
Description
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
Applications can subclass this class to indicate similar exceptions.
Constructors
IndexOutOfBoundsException()
IndexOutOfBoundsException(String s)
Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()
Constructors
IndexOutOfBoundsException()
Declaration:
public IndexOutOfBoundsException()
Description:
Constructs an IndexOutOfBoundsException with no detail message.
IndexOutOfBoundsException(String)
Declaration:
public IndexOutOfBoundsException(java.lang.String s)
Description:
Constructs an IndexOutOfBoundsException with the specified detail message.
Parameters:
s - the detail message.
No comments:
Post a Comment