SerializableCertificateEncodingException, CertificateExpiredException, CertificateNotYetValidException, CertificateParsingExceptionpublic class CertificateException extends Exception
Note: The classes in the package javax.security.cert
exist for compatibility with earlier versions of the
Java Secure Sockets Extension (JSSE). New applications should instead
use the standard Java SE certificate classes located in
java.security.cert.
Certificate,
序列化表格| 构造器 | 说明 |
|---|---|
CertificateException() |
Constructs a certificate exception with no detail message.
|
CertificateException(String msg) |
Constructs a certificate exception with the given detail
message.
|
public CertificateException()
public CertificateException(String msg)
msg - the detail message.