CertificateException (Java SE 15 & JDK 15) (original) (raw)

All Implemented Interfaces:

[Serializable](../../../java/io/Serializable.html "interface in java.io")

Direct Known Subclasses:

[CertificateEncodingException](CertificateEncodingException.html "class in javax.security.cert"), [CertificateExpiredException](CertificateExpiredException.html "class in javax.security.cert"), [CertificateNotYetValidException](CertificateNotYetValidException.html "class in javax.security.cert"), [CertificateParsingException](CertificateParsingException.html "class in javax.security.cert")


@Deprecated(since="9", forRemoval=true) public class CertificateException extends Exception

Deprecated, for removal: This API element is subject to removal in a future version.

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 injava.security.cert.

Since:

1.4

See Also:

Certificate, Serialized Form

Constructors

Constructor Description
CertificateException() Deprecated, for removal: This API element is subject to removal in a future version. Constructs a certificate exception with no detail message.
CertificateException​(String msg) Deprecated, for removal: This API element is subject to removal in a future version. Constructs a certificate exception with the given detail message.

Methods declared in class java.lang.Throwable

[addSuppressed](../../../java/lang/Throwable.html#addSuppressed%28java.lang.Throwable%29), [fillInStackTrace](../../../java/lang/Throwable.html#fillInStackTrace%28%29), [getCause](../../../java/lang/Throwable.html#getCause%28%29), [getLocalizedMessage](../../../java/lang/Throwable.html#getLocalizedMessage%28%29), [getMessage](../../../java/lang/Throwable.html#getMessage%28%29), [getStackTrace](../../../java/lang/Throwable.html#getStackTrace%28%29), [getSuppressed](../../../java/lang/Throwable.html#getSuppressed%28%29), [initCause](../../../java/lang/Throwable.html#initCause%28java.lang.Throwable%29), [printStackTrace](../../../java/lang/Throwable.html#printStackTrace%28%29), [printStackTrace](../../../java/lang/Throwable.html#printStackTrace%28java.io.PrintStream%29), [printStackTrace](../../../java/lang/Throwable.html#printStackTrace%28java.io.PrintWriter%29), [setStackTrace](../../../java/lang/Throwable.html#setStackTrace%28java.lang.StackTraceElement%5B%5D%29), [toString](../../../java/lang/Throwable.html#toString%28%29)