public class SSLException
extends IOException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| java.io.IOException | ||||
| javax.net.ssl.SSLException | ||||
| |
表示SSL子系统检测到某种错误。 这个类是由SSL相关操作失败产生的一般异常类。
Public constructors |
|
|---|---|
SSLException(String reason) 构造一个报告由SSL子系统发现的错误的异常。 |
|
SSLException(String message, Throwable cause) 用指定的详细信息和原因创建一个 |
|
SSLException(Throwable cause) 创建 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
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.) |