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 Details

    • CertificateException

      public CertificateException​(String msg)
      Creates a new CertificateException with the specified message.
      Parameters:
      msg - the detail message for the exception.
    • CertificateException

      public CertificateException()
      Creates a new CertificateException.