【Java-随笔】常见异常

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)

你可能感兴趣的:(java,开发语言)