ArrayIndexOutOfBoundsException
2015-09-28 15:04
267 查看
public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException 用非法索引访问数组时抛出的异常。如果索引为负或大于等于数组大小,则该索引为非法索引。 [code]构造方法:
public ArrayIndexOutOfBoundsException()构造不带详细消息的
ArrayIndexOutOfBoundsException。
public ArrayIndexOutOfBoundsException(int index)构造具有指示非法索引的参数的新
ArrayIndexOutOfBoundsException类。
参数:
index- 非法索引。
public ArrayIndexOutOfBoundsException(String s)构造具有指定详细消息的
ArrayIndexOutOfBoundsException类。
参数:
s- 详细消息。
[/code]
相关文章推荐
- Swift 成员变量的get/set
- 软件测试基础知识(7-8章)
- matlab的meshgrid函数
- 语句
- 团队成员角色
- BZOJ 1010: [HNOI2008]玩具装箱toy 斜率优化dp
- Xcode7创建pch全局宏定义文件,去除NSLog
- 游戏中的锁机制
- 【Android】缩略图Thumbnails
- 互斥同步器 ReentrantLock和内部锁 synchronized 的性能对比
- Android 开发问题及解决汇总
- Fleury算法求欧拉回路(二)
- JNI自己写NDK开发学习 2015年9月
- HTTP 头部详细解释
- HTTP向本地服务器请求数据
- JavaScript多图片上传案例
- 守护线程java thread setDaemon
- 转载:(个人学习用)JSP文件过大编译失败,异常如is exceeding the 65535 bytes l...
- https://ruby.taobao.org/
- JSON数组操作