Share via


XPathExpressionException Constructors

Definition

Overloads

XPathExpressionException(Throwable)

Constructs a new XPathExpressionException with the specified cause.

XPathExpressionException(String)

Constructs a new XPathExpressionException with the specified detail message.

XPathExpressionException(IntPtr, JniHandleOwnership)

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

XPathExpressionException(Throwable)

Constructs a new XPathExpressionException with the specified cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public XPathExpressionException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Javax.Xml.Xpath.XPathExpressionException : Java.Lang.Throwable -> Javax.Xml.Xpath.XPathExpressionException

Parameters

cause
Throwable

The cause.

Attributes

Exceptions

if cause is null.

Remarks

Constructs a new XPathExpressionException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Java documentation for javax.xml.xpath.XPathExpressionException.XPathExpressionException(java.lang.Throwable).

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

XPathExpressionException(String)

Constructs a new XPathExpressionException with the specified detail message.

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

Parameters

message
String

The detail message.

Attributes

Remarks

Constructs a new XPathExpressionException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Java documentation for javax.xml.xpath.XPathExpressionException.XPathExpressionException(java.lang.String).

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

XPathExpressionException(IntPtr, JniHandleOwnership)

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

protected XPathExpressionException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Xml.Xpath.XPathExpressionException : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Xml.Xpath.XPathExpressionException

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