|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--java.lang.IndexOutOfBoundsException | +--java.lang.StringIndexOutOfBoundsException
Signals that a String index is out of range.
String.charAt(int)
Constructor Summary | |
StringIndexOutOfBoundsException()
Constructs a StringIndexOutOfBoundsException with no detail message. |
|
StringIndexOutOfBoundsException(int index)
Constructs a StringIndexOutOfBoundsException initialized with the specified index. |
|
StringIndexOutOfBoundsException(String s)
Constructs a StringIndexOutOfBoundsException with the specified detail message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StringIndexOutOfBoundsException()
public StringIndexOutOfBoundsException(String s)
s
- the String containing a detail message about the errorpublic StringIndexOutOfBoundsException(int index)
index
- the offending index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |