Dela via


FormatException Constructors

Definition

Overloads

FormatException()
FormatException(String)
FormatException(IntPtr, JniHandleOwnership)

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

FormatException(String, Throwable)

FormatException()

[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)

[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
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)

[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
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