java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----java.lang.IndexOutOfBoundsException
|
+----java.lang.StringIndexOutOfBoundsException
由 String 类中的 charAt 方法和
String 中的其它方法抛出以指示一个索引值为负数或大于等于字符串的长度。
StringIndexOutOfBoundsException 。
StringIndexOutOfBoundsException类。
StringIndexOutOfBoundsException。
public StringIndexOutOfBoundsException()
StringIndexOutOfBoundsException 。
public StringIndexOutOfBoundsException(String s)
StringIndexOutOfBoundsException。
public StringIndexOutOfBoundsException(int index)
StringIndexOutOfBoundsException类。