public class XPathSyntaxException extends SAXPathException
Constructor and Description |
---|
XPathSyntaxException(String xpath,
int position,
String message)
Creates a new XPathSyntaxException.
|
Modifier and Type | Method and Description |
---|---|
String |
getMultilineMessage()
Returns a long formatted description of the error,
including line breaks.
|
int |
getPosition()
Returns the index of the character at which the syntax error was detected
in the XPath expression.
|
String |
getXPath()
Returns the syntactically incorrect XPath expression.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public int getPosition()
Returns the index of the character at which the syntax error was detected in the XPath expression.
public String getXPath()
Returns the syntactically incorrect XPath expression.
public String getMultilineMessage()
Returns a long formatted description of the error, including line breaks.
Copyright 2001–2022 The Jaxen Project. All rights reserved.