public class SSLException
extends IOException
java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.io.IOException | |||
↳ | javax.net.ssl.SSLException |
Known Direct Subclasses |
表示SSL子系统检测到某种错误。 这个类是由SSL相关操作失败产生的一般异常类。
Public constructors |
|
---|---|
SSLException(String reason) 构造一个报告由SSL子系统发现的错误的异常。 |
|
SSLException(String message, Throwable cause) 用指定的详细信息和原因创建一个 |
|
SSLException(Throwable cause) 创建 |
Inherited methods |
|
---|---|
From class java.lang.Throwable
|
|
From class java.lang.Object
|
SSLException (String reason)
构造一个报告由SSL子系统发现的错误的异常。
Parameters | |
---|---|
reason |
String : describes the problem. |
SSLException (String message, Throwable cause)
用指定的详细信息和原因创建一个 SSLException
。
Parameters | |
---|---|
message |
String : the detail message (which is saved for later retrieval by the getMessage() method). |
cause |
Throwable : the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |
SSLException (Throwable cause)
创建 SSLException
与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。
Parameters | |
---|---|
cause |
Throwable : the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |