SSLHandshakeException

  • SSLHandshakeException signals that the client and server failed to establish a secure connection with the desired security level, rendering the connection unusable.

  • This exception is thrown when the SSL/TLS handshake process encounters an error, preventing the secure connection from being established.

  • It provides a constructor that takes a reason string describing the cause of the handshake failure.

  • SSLHandshakeException inherits methods from SSLException and Throwable for handling and reporting the exception.

public class SSLHandshakeException extends SSLException

Indicates that the client and server could not negotiate the desired level of security. The connection is no longer usable.

Public Constructor Summary

SSLHandshakeException(String reason)
Constructs an exception reporting an error found by an SSL subsystem during handshaking.

Inherited Method Summary

Public Constructors

public SSLHandshakeException (String reason)

Constructs an exception reporting an error found by an SSL subsystem during handshaking.

Parameters
reason describes the problem.