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

public Class SSLProtocolException

extends SSLException
Class Inheritance

Reports an error in the operation of the SSL protocol. Normally this indicates a flaw in one of the protocol implementations.
Author
David Brownell
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

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

Constructs an exception reporting an SSL protocol error detected by an SSL subsystem.

public
SSLProtocolException(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 SSLProtocolException 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

SSLProtocolExceptionback to summary
public SSLProtocolException(String reason)

Constructs an exception reporting an SSL protocol error detected by an SSL subsystem.

Parameters
reason:String

describes the problem.

SSLProtocolExceptionback to summary
public SSLProtocolException(String message, Throwable cause)

Creates a SSLProtocolException 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