Package java.security.cert
Class CertificateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- java.security.cert.CertificateException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CertificateEncodingException,CertificateExpiredException,CertificateNotYetValidException,CertificateParsingException,CertificateRevokedException
public class CertificateException extends GeneralSecurityException
The base class for allCertificaterelated exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificateException()Creates a newCertificateException.CertificateException(String msg)Creates a newCertificateExceptionwith the specified message.CertificateException(String message, Throwable cause)Creates a newCertificateExceptionwith the specified message and cause.CertificateException(Throwable cause)Creates a newCertificateExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CertificateException
public CertificateException(String msg)
Creates a newCertificateExceptionwith the specified message.- Parameters:
msg- the detail message for the exception.
-
CertificateException
public CertificateException()
Creates a newCertificateException.
-
CertificateException
public CertificateException(String message, Throwable cause)
Creates a newCertificateExceptionwith the specified message and cause.- Parameters:
message- the detail message for the exception.cause- the cause.
-
CertificateException
public CertificateException(Throwable cause)
Creates a newCertificateExceptionwith the specified cause.- Parameters:
cause- the cause
-
-