java.lang.StringIndexOutOfBoundsException
This runtime exception is thrown when the a String is indexed with a value
less than zero, or greater than or equal to the size of the array.
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
StringIndexOutOfBoundsException()
Constructs a new instance of this class with its walkback filled in.
public
StringIndexOutOfBoundsException(int index)
Constructs a new instance of this class with its walkback and message
(which is based on the argument which is the index which failed) filled
in.
Parameters
index
| int the index which is out of bounds
|
public
StringIndexOutOfBoundsException(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in.
Parameters
detailMessage
| String The detail message for the exception.
|