java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.net.ssl.SSLException
javax.net.ssl.SSLHandshakeException
- 所有实现的接口:
-
Serializable
表示客户端和服务器无法协商所需的安全级别。连接不再可用。
- 自从:
- 1.4
- 参见:
-
Constructor Summary
ConstructorsConstructorDescriptionSSLHandshakeException(String reason) 构造一个报告在握手期间SSL子系统发现的错误的异常。SSLHandshakeException(String message, Throwable cause) 使用指定的详细消息和原因创建一个SSLHandshakeException。 -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SSLHandshakeException
构造一个报告在握手期间SSL子系统发现的错误的异常。- 参数:
-
reason- 描述问题。
-
SSLHandshakeException
使用指定的详细消息和原因创建一个SSLHandshakeException。- 参数:
-
message- 详细消息(稍后可通过Throwable.getMessage()方法检索)。 -
cause- 原因(稍后可通过Throwable.getCause()方法检索)。(允许null值,表示原因不存在或未知。) - 自从:
- 19
-