org.exist.xquery
Class XPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exist.xquery.XPathException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- StaticXQueryException, TerminatedException
public class XPathException
- extends Exception
- See Also:
- Serialized Form
XPathException
public XPathException(String message)
- Parameters:
message
-
XPathException
public XPathException(XQueryAST ast,
String message)
XPathException
public XPathException(String message,
int line,
int column)
XPathException
public XPathException(Throwable cause)
- Parameters:
cause
-
XPathException
public XPathException(String message,
Throwable cause)
- Parameters:
message
- cause
-
XPathException
public XPathException(XQueryAST ast,
String message,
Throwable cause)
XPathException
public XPathException(XQueryAST ast,
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(String msg)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getDetailMessage
public String getDetailMessage()
- Returns just the error message, not including
line numbers or the call stack.
- Returns:
- error message
getMessageAsHTML
public String getMessageAsHTML()
Copyright (C) Wolfgang Meier. All rights reserved.