Sdílet prostřednictvím


ParseException Constructors

Definition

Overloads

ParseException(IntPtr, JniHandleOwnership)

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

ParseException(String, Int32)

Constructs a ParseException with the specified detail message and offset.

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 Java.Text.ParseException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.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, Int32)

Constructs a ParseException with the specified detail message and offset.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public ParseException (string? s, int errorOffset);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Java.Text.ParseException : string * int -> Java.Text.ParseException

Parameters

s
String

the detail message

errorOffset
Int32

the position where the error is found while parsing.

Attributes

Remarks

Constructs a ParseException with the specified detail message and offset. A detail message is a String that describes this particular exception.

Java documentation for java.text.ParseException.ParseException(java.lang.String, int).

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