XPathException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| XPathException(Throwable) |
Constructs a new |
| XPathException(String) |
Constructs a new |
| XPathException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
XPathException(Throwable)
Constructs a new XPathException with the specified cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public XPathException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Javax.Xml.Xpath.XPathException : Java.Lang.Throwable -> Javax.Xml.Xpath.XPathException
Parameters
- cause
- Throwable
The cause.
- Attributes
Exceptions
if cause is null.
Remarks
Constructs a new XPathException with the specified cause.
If cause is null, then a NullPointerException is thrown.
Java documentation for javax.xml.xpath.XPathException.XPathException(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
XPathException(String)
Constructs a new XPathException with the specified detail message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public XPathException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Javax.Xml.Xpath.XPathException : string -> Javax.Xml.Xpath.XPathException
Parameters
- message
- String
The detail message.
- Attributes
Remarks
Constructs a new XPathException 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.XPathException.XPathException(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
XPathException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected XPathException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Xml.Xpath.XPathException : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Xml.Xpath.XPathException
Parameters
- 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.