Module java.base
Package javax.net.ssl

Class SSLProtocolException

All Implemented Interfaces:
Serializable

public class SSLProtocolException extends SSLException
Reports an error in the operation of the SSL protocol. Normally this indicates a flaw in one of the protocol implementations.
Since:
1.4
See Also:
  • Constructor Details

    • SSLProtocolException

      public SSLProtocolException(String reason)
      Constructs an exception reporting an SSL protocol error detected by an SSL subsystem.
      Parameters:
      reason - describes the problem.
    • SSLProtocolException

      public SSLProtocolException(String message, Throwable cause)
      Creates a SSLProtocolException with the specified detail message and cause.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      Since:
      19