Language

AuthenticationException Constructors

Definition

Overloads

Name Description
AuthenticationException()

Creates a new AuthenticationException with a null detail message.

AuthenticationException(String)

Creates a new AuthenticationException with the specified message.

AuthenticationException(IntPtr, JniHandleOwnership)

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

AuthenticationException(String, Throwable)

Creates a new AuthenticationException with the specified detail message and cause.

AuthenticationException()

Creates a new AuthenticationException with a null detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public AuthenticationException();
Attributes

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

AuthenticationException(String)

Creates a new AuthenticationException with the specified message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public AuthenticationException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Authentication.AuthenticationException : string -> Org.Apache.Http.Authentication.AuthenticationException

Parameters

message
String

The detail message for the exception.

Attributes

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

AuthenticationException(IntPtr, JniHandleOwnership)

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

protected AuthenticationException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Authentication.AuthenticationException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Authentication.AuthenticationException

Parameters

javaReference
IntPtr

nativeint

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

AuthenticationException(String, Throwable)

Creates a new AuthenticationException with the specified detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public AuthenticationException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Org.Apache.Http.Authentication.AuthenticationException : string * Java.Lang.Throwable -> Org.Apache.Http.Authentication.AuthenticationException

Parameters

message
String

The detail message for the exception.

cause
Throwable

The exception that caused this exception, or null if the cause is unavailable or unknown.

Attributes

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