ClassCastException
类型强转的异常
ArrayIndexOutOfBoundsException
数组越界异常
NullPointerException
控制针异常
Index out of bounds
超出界限
Cat cannot be cast to Dog
类型强转的异常
IllegaArgumentException:No enum constant at java
非法的参数异常:没有枚举常量
ArithmeticException
数学异常
ParseException
日期格式化解析的异常
NegativeArraySizeException
数组输入长度为负数异常
ArithmeticException
算术异常类
ClassNotFoundException
类型没有找到异常,有可能包找不到
NoSuchFileException
文件不存在异常
NumberFormatException
数字格式化异常
IllegalAraumentException:wrong number of arguments
非法的参数异常:错误的参数数量
ConcurrentModificationException
并发修改异常
No value specified for parameter 7
缺少一个value值,没有值为参数7做指定
Zip IOException
架包文件损坏异常,或文件不存在
SqlSessionUtilsClass not found
mapper.xml语句出错,或参数、或返回值问题,mybatis-config.xml没有注册
java.sql.SQLException:Access denied for user 'root'@'localhost'(using password:YES)
连接数据库时,账号密码错误
I/O error while reading input message:nested exception is java.io.IOException:
关闭的流 流的问题,重复读取流的问题
ConverterNotFoundException
文件转换器不能被找到
IllegalStateException
非法格式异常
SAXParseException
解析异常(主要是xml文件中的错误)
UnsupportedEncodingException
转码异常
以上为个人的一个小总结,不喜勿扰,如有注释错误的,还望指正,如有添加可评论,谢谢
报错
最新推荐文章于 2023-12-28 10:30:10 发布