public class XPathSyntaxException extends SAXPathException
Constructor | Description |
---|---|
XPathSyntaxException(java.lang.String xpath,
int position,
java.lang.String message) |
Creates a new XPathSyntaxException.
|
Modifier and Type | Method | 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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–2018 Codehaus. All rights reserved.