Package java.security.cert
Class CertificateParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- java.security.cert.CertificateException
-
- java.security.cert.CertificateParsingException
-
- All Implemented Interfaces:
Serializable
public class CertificateParsingException extends CertificateException
The exception that is thrown when aCertificatecan not be parsed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificateParsingException()Creates a newCertificateParsingException.CertificateParsingException(String msg)Creates a newCertificateParsingExceptionwith the specified message.CertificateParsingException(String message, Throwable cause)Creates a newCertificateParsingExceptionwith the specified message and cause.CertificateParsingException(Throwable cause)Creates a newCertificateParsingExceptionwith 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
-
CertificateParsingException
public CertificateParsingException(String msg)
Creates a newCertificateParsingExceptionwith the specified message.- Parameters:
msg- the detail message for the exception.
-
CertificateParsingException
public CertificateParsingException()
Creates a newCertificateParsingException.
-
CertificateParsingException
public CertificateParsingException(String message, Throwable cause)
Creates a newCertificateParsingExceptionwith the specified message and cause.- Parameters:
message- the detail message for the exception.cause- the exception's source.
-
CertificateParsingException
public CertificateParsingException(Throwable cause)
Creates a newCertificateParsingExceptionwith the specified cause.- Parameters:
cause- the exception's source.
-
-