Most visited

Recently visited

Added in API level 1

CertificateException

public class CertificateException
extends GeneralSecurityException

java.lang.Object
    java.lang.Throwable
      java.lang.Exception
        java.security.GeneralSecurityException
          java.security.cert.CertificateException
Known Direct Subclasses


这个例外表明了各种证书问题之一。

也可以看看:

摘要(Summary)

Public constructors

CertificateException()

构造一个没有详细消息的证书异常。

CertificateException(String msg)

用给定的详细信息构造证书异常。

CertificateException(String message, Throwable cause)

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

CertificateException(Throwable cause)

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

继承方法(Inherited methods)

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

Public constructors

CertificateException

Added in API level 1
CertificateException ()

构造一个没有详细消息的证书异常。 详细消息是描述此特定异常的字符串。

CertificateException

Added in API level 1
CertificateException (String msg)

用给定的详细信息构造证书异常。 详细消息是描述此特定异常的字符串。

参数(Parameters)
msg String: the detail message.

CertificateException

Added in API level 1
CertificateException (String message, 
                Throwable cause)

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

参数(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.)

CertificateException

Added in API level 1
CertificateException (Throwable cause)

创建 CertificateException与指定的原因和 (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!