net.xqj.marklogic
Class XQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.xquery.XQException
javax.xml.xquery.XQQueryException
net.xqj.marklogic.exceptions.XQueryException
- All Implemented Interfaces:
- Serializable
public class XQueryException
- extends XQQueryException
- See Also:
- Serialized Form
Constructor Summary |
XQueryException(String message,
String vendorCode,
QName errorCode,
int line,
int column,
int position,
String moduleURI,
XQSequence errorObject,
XQStackTraceElement[] stackTrace,
String xqueryVersion,
String formatString,
boolean retryable,
String expr)
|
XQueryException
public XQueryException(String message,
String vendorCode,
QName errorCode,
int line,
int column,
int position,
String moduleURI,
XQSequence errorObject,
XQStackTraceElement[] stackTrace,
String xqueryVersion,
String formatString,
boolean retryable,
String expr)
getXQueryVersion
public String getXQueryVersion()
- Gets the XQuery version of the invoked adhoc query.
- Returns:
- Gets the XQuery version of the invoked query.
getFormatString
public String getFormatString()
- Gets the Format String from the error response.
- Returns:
- Gets the Format String from the error response.
isRetryable
public boolean isRetryable()
- Gets the flag as to whether the query could be retried. true for retryable, false otherwise.
- Returns:
- Gets the flag as to whether the query could be retried. true for retryable, false otherwise.
getExpresion
public String getExpresion()
- Gets the Expression or "expr" from the error response.
- Returns:
- Gets the Expression or "expr" from the error response.
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class Throwable
toString
public String toString()
- Overrides:
toString
in class Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream out)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter out)
- Overrides:
printStackTrace
in class Throwable
getStackTrace
public StackTraceElement[] getStackTrace()
- Overrides:
getStackTrace
in class Throwable