XPathException

public class XPathException extends Exception
Known Direct Subclasses
Known Indirect Subclasses

XPathException represents a generic XPath exception.

Public Constructor Summary

XPathException(String message)

Constructs a new XPathException with the specified detail message.

XPathException(Throwable cause)

Constructs a new XPathException with the specified cause.

Public Method Summary

Throwable
getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
void
printStackTrace()
Prints this throwable and its backtrace to the standard error stream.
void
printStackTrace(PrintWriter s)
Prints this throwable and its backtrace to the specified print writer.
void
printStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.

Inherited Method Summary

Public Constructors

public XPathException (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.

Parameters
message The detail message.

public XPathException (Throwable cause)

Constructs a new XPathException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters
cause The cause.