Skip to content

Most visited

Recently visited

navigation
Added in API level 1

SSLException

public class SSLException
extends IOException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ javax.net.ssl.SSLException
Known Direct Subclasses


The base class for all SSL related exceptions.

Summary

Public constructors

SSLException(String reason)

Creates a new SSLException with the specified reason.

SSLException(String message, Throwable cause)

Creates a new SSLException with the specified message and cause.

SSLException(Throwable cause)

Creates a new SSLException with the specified cause.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

SSLException

Added in API level 1
SSLException (String reason)

Creates a new SSLException with the specified reason.

Parameters
reason String: the reason for the exception.

SSLException

Added in API level 1
SSLException (String message, 
                Throwable cause)

Creates a new SSLException with the specified message and cause.

Parameters
message String: the detail message for the exception.
cause Throwable: the cause.

SSLException

Added in API level 1
SSLException (Throwable cause)

Creates a new SSLException with the specified cause.

Parameters
cause Throwable: the cause
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.