javax.xml.xpath
public class XPathException extends Exception
XPathException
represents a generic XPath exception.
Since: 1.5
Version: $Revision: 226234 $, $Date: 2005-06-14 15:19:27 -0400 (Tue, 14 Jun 2005) $
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
.