Java 异常错误
IndexOutOfBoundsExceptionIndexOutOfBoundsException
访问集合时使用了超出有效范围的索引。
jvmandroidspring
查看详情 InstantiationException通过反射尝试实例化抽象类或接口。
对抽象类、接口、数组类或无无参构造函数的类调用了 Class.newInstance() 或 Constructor.newInstance()。
使用抽象类的具体实现类。确保类拥有公共无参构造函数。使用工厂方法创建实例。
IndexOutOfBoundsException访问集合时使用了超出有效范围的索引。
IOExceptionI/O 操作失败或被中断。
ArithmeticException算术运算产生了未定义的结果,例如除以零。
UnsupportedEncodingExceptionJVM 不支持指定的字符编码。
OutOfMemoryErrorJVM 的可用堆内存已耗尽。
ExecutionException提交给执行器的任务在执行过程中抛出了异常。