Partager via


ParseException Constructors

Definition

Overloads

ParseException(String)
ParseException(IntPtr, JniHandleOwnership)

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

ParseException(String, Throwable)

ParseException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)]
public ParseException (string response);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)>]
new Android.Net.ParseException : string -> Android.Net.ParseException

Parameters

response
String
Attributes

Applies to

ParseException(IntPtr, JniHandleOwnership)

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

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

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

ParseException(String, Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=31)]
public ParseException (string response, Java.Lang.Throwable cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=31)>]
new Android.Net.ParseException : string * Java.Lang.Throwable -> Android.Net.ParseException

Parameters

response
String
cause
Throwable
Attributes

Applies to