|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jaxen.saxpath.SAXPathException
org.jaxen.saxpath.XPathSyntaxException
Represents a syntax error in an XPath expression. This is a compile-time error that is detectable irrespective of the context in which the XPath expression is evaluated.
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 |
getXPath()
Returns the syntactically incorrect XPath expression. |
String |
toString()
|
Methods inherited from class org.jaxen.saxpath.SAXPathException |
getCause, initCause, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XPathSyntaxException(String xpath, int position, String message)
xpath
- the incorrect XPath expressionposition
- the index of the character at which the syntax error was detectedmessage
- the detail messageMethod Detail |
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 toString()
public String getMultilineMessage()
Returns a long formatted description of the error, including line breaks.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |