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() |
getCause, initCause, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, setStackTracepublic 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-2012 Codehaus. All Rights Reserved.