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

public Class CertificateNotYetValidException

extends CertificateException
Class Inheritance
Annotations
@SuppressWarnings:removal
@Deprecated
since:9
forRemoval:true

Deprecated

for removal since 9.

Use the classes in java.security.cert instead.

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 in java.security.cert.

Author
Hemma Prafullchandra
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CertificateNotYetValidException()

Constructs a CertificateNotYetValidException with no detail message.

public
CertificateNotYetValidException(String
the detail message.
message
)

Constructs a CertificateNotYetValidException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.security.cert.CertificateException.serialVersionUID.

Annotations
@Serial

Constructor Detail

CertificateNotYetValidExceptionback to summary
public CertificateNotYetValidException()

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

CertificateNotYetValidExceptionback to summary
public CertificateNotYetValidException(String message)

Constructs a CertificateNotYetValidException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
message:String

the detail message.