StringIndexOutOfBoundsException.StringIndexOutOfBoundsException

StringIndexOutOfBoundsException.StringIndexOutOfBoundsException

Class Overview | Class Members | This Package | All Packages

Syntax 1
public StringIndexOutOfBoundsException()
Description
Constructs a StringIndexOutOfBoundsException with no detail message.



Syntax 2
public StringIndexOutOfBoundsException( String s )
Parameters
s
the detail message.
Description
Constructs a StringIndexOutOfBoundsException with the specified detail message.



Syntax 3
public StringIndexOutOfBoundsException( int index )
Parameters
index
the illegal index.
Description
Constructs a new StringIndexOutOfBoundsException class with an argument indicating the illegal index.