Package javax.net.ssl

Class SSLException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SSLHandshakeException, SSLKeyException, SSLPeerUnverifiedException, SSLProtocolException

public class SSLException
extends IOException
The base class for all SSL related exceptions.
See Also:
Serialized Form
  • Constructor Details

    • SSLException

      public SSLException​(String reason)
      Creates a new SSLException with the specified reason.
      Parameters:
      reason - the reason for the exception.
    • SSLException

      public SSLException​(String message, Throwable cause)
      Creates a new SSLException with the specified message and cause.
      Parameters:
      message - the detail message for the exception.
      cause - the cause.
    • SSLException

      public SSLException​(Throwable cause)
      Creates a new SSLException with the specified cause.
      Parameters:
      cause - the cause