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

All Implemented Interfaces:

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


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

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

Certificate is not yet valid exception. This is thrown whenever the current Date or the specified Date is before the notBefore date/time in the Certificate validity period.

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:

Serialized Form

Constructors

Constructor Description
CertificateNotYetValidException() Deprecated, for removal: This API element is subject to removal in a future version. Constructs a CertificateNotYetValidException with no detail message.
CertificateNotYetValidException​(String message) Deprecated, for removal: This API element is subject to removal in a future version. Constructs a CertificateNotYetValidException with the specified 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)