Class java.lang.StringIndexOutOfBoundsException
All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.StringIndexOutOfBoundsException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----java.lang.IndexOutOfBoundsException
|
+----java.lang.StringIndexOutOfBoundsException
- public class StringIndexOutOfBoundsException
- extends IndexOutOfBoundsException
Signals that a String index is out of range.
- See Also:
- charAt
-
StringIndexOutOfBoundsException()
- Constructs a StringIndexOutOfBoundsException with no detail message.
-
StringIndexOutOfBoundsException(int)
- Constructs a StringIndexOutOfBoundsException initialized with
the specified index.
-
StringIndexOutOfBoundsException(String)
- Constructs a StringIndexOutOfBoundsException with the specified detail message.
StringIndexOutOfBoundsException
public StringIndexOutOfBoundsException()
- Constructs a StringIndexOutOfBoundsException with no detail message.
A detail message is a String that describes this particular exception.
StringIndexOutOfBoundsException
public StringIndexOutOfBoundsException(String s)
- Constructs a StringIndexOutOfBoundsException with the specified detail message.
A detail message is a String that describes this particular exception.
- Parameters:
- s - the String containing a detail message about the error
StringIndexOutOfBoundsException
public StringIndexOutOfBoundsException(int index)
- Constructs a StringIndexOutOfBoundsException initialized with
the specified index.
- Parameters:
- index - the offending index
All Packages Class Hierarchy This Package Previous Next Index