Most visited

Recently visited

Added in API level 1

SSLException

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相关操作失败产生的一般异常类。

Summary

Public constructors

SSLException(String reason)

构造一个报告由SSL子系统发现的错误的异常。

SSLException(String message, Throwable cause)

用指定的详细信息和原因创建一个 SSLException

SSLException(Throwable cause)

创建 SSLException与指定的原因和 (cause==null ? null : cause.toString())详细消息(它通常包含的 cause类和详细消息)。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

SSLException

Added in API level 1
SSLException (String reason)

构造一个报告由SSL子系统发现的错误的异常。

Parameters
reason String: describes the problem.

SSLException

Added in API level 1
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

Added in API level 1
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.)

Hooray!