Språk

NetworkErrorException Constructors

Definition

Overloads

Name Description
NetworkErrorException()

Creates a network-error exception for an account operation without a detail message or cause.

NetworkErrorException(Throwable)

Creates a network-error exception for an account operation with a Java throwable cause.

NetworkErrorException(String)

Creates a network-error exception for an account operation with a detail message.

NetworkErrorException(IntPtr, JniHandleOwnership)

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

NetworkErrorException(String, Throwable)

Creates a network-error exception for an account operation with a detail message and Java throwable cause.

NetworkErrorException()

Creates a network-error exception for an account operation without a detail message or cause.

[Android.Runtime.Register(".ctor", "()V", "")]
public NetworkErrorException();
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

NetworkErrorException(Throwable)

Creates a network-error exception for an account operation with a Java throwable cause.

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

Parameters

cause
Throwable

The cause of this 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

NetworkErrorException(String)

Creates a network-error exception for an account operation with a detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public NetworkErrorException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Accounts.NetworkErrorException : string -> Android.Accounts.NetworkErrorException

Parameters

message
String

A human-readable detail message.

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

NetworkErrorException(IntPtr, JniHandleOwnership)

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

protected NetworkErrorException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Accounts.NetworkErrorException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Accounts.NetworkErrorException

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

NetworkErrorException(String, Throwable)

Creates a network-error exception for an account operation with a detail message and Java throwable cause.

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

Parameters

message
String

A human-readable detail message.

cause
Throwable

The cause of this 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