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

public Class CertificateExpiredException

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 Expired Exception. This is thrown whenever the current Date or the specified Date is after the notAfter date/time specified in the validity period of the certificate.

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
CertificateExpiredException()

Constructs a CertificateExpiredException with no detail message.

public
CertificateExpiredException(String
the detail message.
message
)

Constructs a CertificateExpiredException 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

CertificateExpiredExceptionback to summary
public CertificateExpiredException()

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

CertificateExpiredExceptionback to summary
public CertificateExpiredException(String message)

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

Parameters
message:String

the detail message.