Package javax.security.cert
Class CertificateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.security.cert.CertificateException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CertificateEncodingException,CertificateExpiredException,CertificateNotYetValidException,CertificateParsingException
public class CertificateException extends Exception
The base class for all
Certificate related exceptions.
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 CertificateException()Creates a newCertificateException.CertificateException(String msg)Creates a newCertificateExceptionwith 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 Details
-
CertificateException
Creates a newCertificateExceptionwith the specified message.- Parameters:
msg- the detail message for the exception.
-
CertificateException
public CertificateException()Creates a newCertificateException.
-