Top Description Fields Constructors Methods
javax.xml.xpath

public Class XPathExpressionException

extends XPathException
Class Inheritance
Known Direct Subclasses
javax.xml.xpath.XPathFunctionException

XPathExpressionException represents an error in an XPath expression.
Authors
Norman Walsh, Jeff Suttor
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
XPathExpressionException(String
The detail message.
message
)

Constructs a new XPathExpressionException with the specified detail message.

public
XPathExpressionException(Throwable
The cause.
cause
)

Constructs a new XPathExpressionException with the specified cause.

Method Summary

Inherited from javax.xml.xpath.XPathException:
getCauseprintStackTraceprintStackTraceprintStackTrace

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.xml.xpath.XPathException.serialVersionUID.

Stream Unique Identifier.

Constructor Detail

XPathExpressionExceptionback to summary
public XPathExpressionException(String message)

Constructs a new XPathExpressionException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters
message:String

The detail message.

Exceptions
NullPointerException:
When message is null.
XPathExpressionExceptionback to summary
public XPathExpressionException(Throwable cause)

Constructs a new XPathExpressionException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters
cause:Throwable

The cause.

Exceptions
NullPointerException:
if cause is null.