org.exist.xquery
Class XPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exist.xquery.XPathException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- StaticXQueryException, TerminatedException
- public class XPathException
- extends java.lang.Exception
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XPathException
public XPathException(java.lang.String message)
- Parameters:
message -
XPathException
public XPathException(XQueryAST ast,
java.lang.String message)
XPathException
public XPathException(java.lang.String message,
int line,
int column)
XPathException
public XPathException(java.lang.Throwable cause)
- Parameters:
cause -
XPathException
public XPathException(java.lang.String message,
java.lang.Throwable cause)
- Parameters:
message - cause -
XPathException
public XPathException(XQueryAST ast,
java.lang.String message,
java.lang.Throwable cause)
getLine
public int getLine()
getColumn
public int getColumn()
setASTNode
public void setASTNode(XQueryAST ast)
addFunctionCall
public void addFunctionCall(UserDefinedFunction def,
XQueryAST ast)
prependMessage
public void prependMessage(java.lang.String msg)
getMessage
public java.lang.String getMessage()
getDetailMessage
public java.lang.String getDetailMessage()
- Returns just the error message, not including
line numbers or the call stack.
- Returns:
getMessageAsHTML
public java.lang.String getMessageAsHTML()
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.