1.XXX IndexOutOfBoundsException(XXX索引越界异常)
2.NoSuchElementException(没有元素异常 )
如果集合中没有元素,在取出的时候会抛出
3.BindingException(约束异常)
Invalid bound statement (not found) 无效绑定语句
mybatis 批量更新时 sql injection violation, multi-statement not allow 报错解决方法
4.java.lang.ClassCastException(类转换异常):
这个异常造成的根本原因就是两个没有关系的类进行相互转换
5.InvalidDefinitionException(无效定义异常)
Cannot construct instance of org.springframework.security.core. GrantedA 不能构造security的实例
InvalidClassException(无效类异常)
6.StackOverflowError(内存溢出)
无穷递归,没有出口
7.ArithmeticException(算数异常)
Non-terminating decimal expansion; no exact representable decimal result 无限小数
8.ParseException(解析异常)
字符串和构造方法中的模式不一样,就会抛出此异常
9.NotSerializableException(不能序列化异常)
10.EOFException(文件结束异常)
文件读取多次会抛出此异常
ParameterResolutionException(参数分辨异常)
No ParameterResolver registered for parameter 没有为参数注册参数解析器