|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public class ArrayIndexOutOfBoundsException
用非法索引访问数组时抛出的异常。如果索引为负或大于等于数组大小,则该索引为非法索引。
| 构造方法摘要 | |
|---|---|
ArrayIndexOutOfBoundsException()
构造不带详细消息的 ArrayIndexOutOfBoundsException。 |
|
ArrayIndexOutOfBoundsException(int index)
构造具有指示非法索引的参数的新 ArrayIndexOutOfBoundsException 类。 |
|
ArrayIndexOutOfBoundsException(String s)
构造具有指定详细消息的 ArrayIndexOutOfBoundsException 类。 |
|
| 方法摘要 |
|---|
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ArrayIndexOutOfBoundsException()
ArrayIndexOutOfBoundsException。
public ArrayIndexOutOfBoundsException(int index)
ArrayIndexOutOfBoundsException 类。
index - 非法索引。public ArrayIndexOutOfBoundsException(String s)
ArrayIndexOutOfBoundsException 类。
s - 详细消息。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。