Package javax.security.cert
Class CertificateExpiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.security.cert.CertificateException
-
- javax.security.cert.CertificateExpiredException
-
- All Implemented Interfaces:
Serializable
public class CertificateExpiredException extends CertificateException
The exception that is thrown when aCertificatehas expired.Note: This package is provided only for compatibility reasons. It contains a simplified version of the java.security.cert package that was previously used by JSSE (Java SSL package). All applications that do not have to be compatible with older versions of JSSE (that is before Java SDK 1.5) should only use java.security.cert.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificateExpiredException()Creates a newCertificateExpiredException.CertificateExpiredException(String msg)Creates a newCertificateExpiredExceptionwith the specified message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CertificateExpiredException
public CertificateExpiredException(String msg)
Creates a newCertificateExpiredExceptionwith the specified message.- Parameters:
msg- the detail message for this exception
-
CertificateExpiredException
public CertificateExpiredException()
Creates a newCertificateExpiredException.
-
-