public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException
| Constructor and Description |
|---|
StringIndexOutOfBoundsException()
Create an exception without a message.
|
StringIndexOutOfBoundsException(int index)
Create an exception noting the illegal index.
|
StringIndexOutOfBoundsException(String s)
Create an exception with a message.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StringIndexOutOfBoundsException()
public StringIndexOutOfBoundsException(String s)
s - the messagepublic StringIndexOutOfBoundsException(int index)
index - the invalid index