org.jaxen.saxpath
public class XPathSyntaxException extends SAXPathException
Constructor and Description |
---|
XPathSyntaxException(java.lang.String xpath,
int position,
java.lang.String message)
Creates a new XPathSyntaxException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.lang.String |
getXPath()
Returns the syntactically incorrect XPath expression.
|
java.lang.String |
toString() |
getCause, initCause, printStackTrace, printStackTrace
public XPathSyntaxException(java.lang.String xpath, int position, java.lang.String message)
xpath
- the incorrect XPath expressionposition
- the index of the character at which the syntax error was detectedmessage
- the detail messagepublic int getPosition()
Returns the index of the character at which the syntax error was detected in the XPath expression.
public java.lang.String getXPath()
Returns the syntactically incorrect XPath expression.
public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String getMultilineMessage()
Returns a long formatted description of the error, including line breaks.
Copyright © 2001-2013 Codehaus. All Rights Reserved.