to top
Android APIs
public class

SSLException

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SSLException (String reason)

Added in API level 1

Creates a new SSLException with the specified reason.

Parameters
reason the reason for the exception.

public SSLException (String message, Throwable cause)

Added in API level 1

Creates a new SSLException with the specified message and cause.

Parameters
message the detail message for the exception.
cause the cause.

public SSLException (Throwable cause)

Added in API level 1

Creates a new SSLException with the specified cause.

Parameters
cause the cause
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.