package java.lang;
public
class IndexOutOfBoundsException extends RuntimeException {
private static final long serialVersionUID = 234122996006267687L;
public IndexOutOfBoundsException() {
super();
}
public IndexOutOfBoundsException(String s) {
super(s);
}
}
IndexOutOfBoundsException源码,下标越境,例如访问数组超过数组长度,将抛此异常,是RuntimeException的子类
最新推荐文章于 2024-05-09 21:59:20 发布