javax.xml.xpath
public class XPathException extends Exception
XPathException
represents a generic XPath exception.
Since: 1.5
Version: $Revision: 446598 $, $Date: 2006-09-15 08:55:40 -0400 (Fri, 15 Sep 2006) $
Constructor Summary | |
---|---|
XPathException(String message) Constructs a new The If | |
XPathException(Throwable cause) Constructs a new If |
Method Summary | |
---|---|
Throwable | getCause() |
void | printStackTrace(PrintStream s) |
void | printStackTrace() |
void | printStackTrace(PrintWriter s) |
Constructs a new XPathException
with the specified detail message
.
The cause
is not initialized.
If message
is null
, then a NullPointerException
is thrown.
Parameters: message The detail message.
Constructs a new XPathException
with the specified cause
.
If cause
is null
, then a NullPointerException
is thrown.
Parameters: cause The cause.
Throws: NullPointerException if cause
is null
.