Language

FormatException Constructors

Definition

Overloads

Name Description
FormatException()

Creates an NFC format exception with no detail message.

FormatException(String)

Creates an NFC format exception with the specified detail message.

FormatException(IntPtr, JniHandleOwnership)

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

FormatException(String, Throwable)

Creates an NFC format exception with the specified detail message and cause.

FormatException()

Creates an NFC format exception with no detail message.

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

FormatException(String)

Creates an NFC format exception with the specified detail message.

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

Parameters

message
String

The detail message for the exception, or null.

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

FormatException(IntPtr, JniHandleOwnership)

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

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

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

FormatException(String, Throwable)

Creates an NFC format exception with the specified detail message and cause.

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

Parameters

message
String

The detail message for the exception, or null.

e
Throwable

The cause of the exception, or null if the cause is unknown or does not exist.

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