CertificateParsingException (Java SE 15 & JDK 15) (original) (raw)
All Implemented Interfaces:
[Serializable](../../../java/io/Serializable.html "interface in java.io")
@Deprecated(since="9", forRemoval=true) public class CertificateParsingException extends CertificateException
Deprecated, for removal: This API element is subject to removal in a future version.
Certificate Parsing Exception. This is thrown whenever invalid DER encoded certificate is parsed or unsupported DER features are found in the Certificate.
Note: The classes in the package javax.security.cert
exist for compatibility with earlier versions of the Java Secure Sockets Extension (JSSE). New applications should instead use the standard Java SE certificate classes located injava.security.cert
.
Since:
1.4
See Also:
Constructor Summary
Constructors
Constructor | Description |
---|---|
CertificateParsingException() | Deprecated, for removal: This API element is subject to removal in a future version. Constructs a CertificateParsingException with no detail message. |
CertificateParsingException​(String message) | Deprecated, for removal: This API element is subject to removal in a future version. Constructs a CertificateParsingException with the specified detail message. |
Method Summary
Methods declared in class java.lang.Throwable
[addSuppressed](../../../java/lang/Throwable.html#addSuppressed%28java.lang.Throwable%29), [fillInStackTrace](../../../java/lang/Throwable.html#fillInStackTrace%28%29), [getCause](../../../java/lang/Throwable.html#getCause%28%29), [getLocalizedMessage](../../../java/lang/Throwable.html#getLocalizedMessage%28%29), [getMessage](../../../java/lang/Throwable.html#getMessage%28%29), [getStackTrace](../../../java/lang/Throwable.html#getStackTrace%28%29), [getSuppressed](../../../java/lang/Throwable.html#getSuppressed%28%29), [initCause](../../../java/lang/Throwable.html#initCause%28java.lang.Throwable%29), [printStackTrace](../../../java/lang/Throwable.html#printStackTrace%28%29), [printStackTrace](../../../java/lang/Throwable.html#printStackTrace%28java.io.PrintStream%29), [printStackTrace](../../../java/lang/Throwable.html#printStackTrace%28java.io.PrintWriter%29), [setStackTrace](../../../java/lang/Throwable.html#setStackTrace%28java.lang.StackTraceElement%5B%5D%29), [toString](../../../java/lang/Throwable.html#toString%28%29)
Constructor Details
CertificateParsingException
public CertificateParsingException()
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs a CertificateParsingException with no detail message. A detail message is a String that describes this particular exception.CertificateParsingException
public CertificateParsingException​(String message)
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs a CertificateParsingException with the specified detail message. A detail message is a String that describes this particular exception.
Parameters:
message
- the detail message.