SSLException Constructors

Definition

Overloads

SSLException(Throwable)

Creates a <code>SSLException</code> with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

SSLException(String)

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

SSLException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SSLException(String, Throwable)

Creates a <code>SSLException</code> with the specified detail message and cause.

SSLException(Throwable)

Creates a <code>SSLException</code> with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public SSLException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Javax.Net.Ssl.SSLException : Java.Lang.Throwable -> Javax.Net.Ssl.SSLException

Parameters

cause
Throwable

the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Java documentation for javax.net.ssl.SSLException.SSLException(java.lang.Throwable).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SSLException(String)

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

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SSLException (string? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Javax.Net.Ssl.SSLException : string -> Javax.Net.Ssl.SSLException

Parameters

reason
String

describes the problem.

Attributes

Remarks

Java documentation for javax.net.ssl.SSLException.SSLException(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SSLException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SSLException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Net.Ssl.SSLException : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Net.Ssl.SSLException

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SSLException(String, Throwable)

Creates a <code>SSLException</code> with the specified detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SSLException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Javax.Net.Ssl.SSLException : string * Java.Lang.Throwable -> Javax.Net.Ssl.SSLException

Parameters

message
String

the detail message (which is saved for later retrieval by the #getMessage() method).

cause
Throwable

the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Attributes

Remarks

Java documentation for javax.net.ssl.SSLException.SSLException(java.lang.String, java.lang.Throwable).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to