Language

XmlPullParserException Constructors

Definition

Overloads

Name Description
XmlPullParserException(String)
XmlPullParserException(IntPtr, JniHandleOwnership)

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

XmlPullParserException(String, XmlReader, Throwable)

XmlPullParserException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public XmlPullParserException(string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.XmlPull.V1.XmlPullParserException : string -> Org.XmlPull.V1.XmlPullParserException

Parameters

s
String

The exception 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

XmlPullParserException(IntPtr, JniHandleOwnership)

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

protected XmlPullParserException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.XmlPull.V1.XmlPullParserException : nativeint * Android.Runtime.JniHandleOwnership -> Org.XmlPull.V1.XmlPullParserException

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

XmlPullParserException(String, XmlReader, Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Throwable;)V", "")]
public XmlPullParserException(string? msg, System.Xml.XmlReader? parser, Java.Lang.Throwable? chain);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Throwable;)V", "")>]
new Org.XmlPull.V1.XmlPullParserException : string * System.Xml.XmlReader * Java.Lang.Throwable -> Org.XmlPull.V1.XmlPullParserException

Parameters

msg
String

The message to include in the exception description, or null for no message prefix.

parser
XmlReader

The XML reader whose current position is included in the exception, or null if no position is available. The .NET binding passes the reader through an XML pull-parser adapter.

chain
Throwable

The underlying Java exception to store in Detail, or null if there is none.

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