APIdia Launch Partner
Top Description Fields Constructors
javax.net.ssl

public Class SSLKeyException

extends SSLException
Class Inheritance

Reports a bad SSL key. Normally, this indicates misconfiguration of the server or client SSL certificate and private key.
Author
David Brownell
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
SSLKeyException(String
describes the problem.
reason
)

Constructs an exception reporting a key management error found by an SSL subsystem.

public
SSLKeyException(String
the detail message (which is saved for later retrieval by the getMessage() method).
message
,
Throwable
the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
cause
)

Creates a SSLKeyException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.net.ssl.SSLException.serialVersionUID.

Annotations
@Serial

Constructor Detail

SSLKeyExceptionback to summary
public SSLKeyException(String reason)

Constructs an exception reporting a key management error found by an SSL subsystem.

Parameters
reason:String

describes the problem.

SSLKeyExceptionback to summary
public SSLKeyException(String message, Throwable cause)

Creates a SSLKeyException with the specified detail message and cause.

Parameters
message:String

the detail message (which is saved for later retrieval by the getMessage() method).

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Since
19