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
public class CertificateException extends GeneralSecurityException
The base class for all
Certificate related 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 Details
-
CertificateException
Creates a newCertificateExceptionwith the specified message.- Parameters:
msg- the detail message for the exception.
-
CertificateException
public CertificateException()Creates a newCertificateException. -
CertificateException
Creates a newCertificateExceptionwith the specified message and cause.- Parameters:
message- the detail message for the exception.cause- the cause.
-
CertificateException
Creates a newCertificateExceptionwith the specified cause.- Parameters:
cause- the cause
-