org.jaxen.saxpath
public class XPathSyntaxException extends SAXPathException
| Field Summary | |
|---|---|
| static String | lineSeparator |
| int | position |
| static long | serialVersionUID |
| String | xpath |
| Constructor Summary | |
|---|---|
| XPathSyntaxException(String xpath, int position, String message)
Creates a new XPathSyntaxException.
| |
| Method Summary | |
|---|---|
| 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 | getPositionMarker()
Returns a string in the form |
| String | getXPath() Returns the syntactically incorrect XPath expression. |
| String | toString() |
Parameters: xpath the incorrect XPath expression position the index of the character at which the syntax error was detected message the detail message
Returns a long formatted description of the error, including line breaks.
Returns: a longer description of the error on multiple lines
Returns the index of the character at which the syntax error was detected in the XPath expression.
Returns: the character index in the XPath expression at which the syntax error was detected
Returns a string in the form " ^" which, when placed on the line
below the XPath expression in a monospaced font, should point to the
location of the error.
Returns: the position marker
Returns the syntactically incorrect XPath expression.
Returns: the syntactically incorrect XPath expression