【Java-随笔】常见异常

发布时间:2024年01月14日

org.apache.ibatis.exceptions.PersistenceException

org.apache.ibatis.executor.ExecutorException

Executor was closed.

【说明】

  • SqlSession被关闭了,检查是否使用了被关闭的SqlSession;
  • 在sqlsession会话关闭后,再使用sqlsession就会出现Executor was closed.异常

java.net.SocketTimeoutException

Read timed out
connect timed out
Read timeout

java.io.IOException

Underlying input stream returned zero bytes

java.net.SocketException

Connection reset

org.jsoup.HttpStatusException

HTTP error fetching URL

org.apache.ibatis.exceptions.PersistenceException

java.sql.SQLSyntaxErrorException

Unknown column 'XXXX' in 'field list'

org.apache.ibatis.binding.BindingException

Parameter 'XXXX' not found. Available parameters are [arg1, arg0, param1, param2]

java.security.cert.CertificateExpiredException

NotAfter: Sun Oct 15 14:23:39 CST 2023

sun.security.validator.ValidatorException

PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

javax.net.ssl.SSLHandshakeException

PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

javax.net.ssl.SSLPeerUnverifiedException

Certificate for <666545.xyz> doesn't match any of the subject alternative names: [666548.xyz]

java.net.UnknownHostException

不知道这样的主机。 (d31rniow5egu86.cloudfront.net)
文章来源:https://blog.csdn.net/HIGK_365/article/details/135583920
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。