public class XPathException
extends java.lang.Exception
XPathException represents a generic XPath exception.| Constructor and Description | 
|---|
| XPathException(java.lang.String message)Constructs a new  XPathExceptionwith the specified detailmessage. | 
| XPathException(java.lang.Throwable cause)Constructs a new  XPathExceptionwith the specifiedcause. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Throwable | getCause() | 
| void | printStackTrace() | 
| void | printStackTrace(java.io.PrintStream s) | 
| void | printStackTrace(java.io.PrintWriter s) | 
public XPathException(java.lang.String message)
Constructs a new XPathException with the specified detail message.
The cause is not initialized.
If message is null, then a NullPointerException is thrown.
message - The detail message.public XPathException(java.lang.Throwable cause)
Constructs a new XPathException with the specified cause.
If cause is null, then a NullPointerException is thrown.
cause - The cause.java.lang.NullPointerException - if cause is null.public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.ThrowableCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.