APIdia Launch Partner
Top Description Fields Constructors
javax.security.cert

public Class CertificateException

extends Exception
Class Inheritance
Known Direct Subclasses
javax.security.cert.CertificateExpiredException, javax.security.cert.CertificateNotYetValidException, javax.security.cert.CertificateParsingException, javax.security.cert.CertificateEncodingException
Annotations
@Deprecated
since:9
forRemoval:true

Deprecated

for removal since 9.

Use the classes in java.security.cert instead.

This exception indicates one of a variety of certificate problems.

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.

Author
Hemma Prafullchandra
Since
1.4
See Also
Certificate

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CertificateException()

Constructs a certificate exception with no detail message.

public
CertificateException(String
the detail message.
msg
)

Constructs a certificate exception with the given detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Annotations
@Serial

Constructor Detail

CertificateExceptionback to summary
public CertificateException()

Constructs a certificate exception with no detail message. A detail message is a String that describes this particular exception.

CertificateExceptionback to summary
public CertificateException(String msg)

Constructs a certificate exception with the given detail message. A detail message is a String that describes this particular exception.

Parameters
msg:String

the detail message.