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

Constructor Index

 o StringIndexOutOfBoundsException()
Constructs a StringIndexOutOfBoundsException with no detail message.
 o StringIndexOutOfBoundsException(int)
Constructs a StringIndexOutOfBoundsException initialized with the specified index.
 o StringIndexOutOfBoundsException(String)
Constructs a StringIndexOutOfBoundsException with the specified detail message.

Constructors

 o StringIndexOutOfBoundsException
  public StringIndexOutOfBoundsException()
Constructs a StringIndexOutOfBoundsException with no detail message. A detail message is a String that describes this particular exception.
 o 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
 o 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