public class XQueryException extends QueryException
Constructor and Description |
---|
XQueryException(Request request,
java.lang.String code, java.lang.String w3cCode,
java.lang.String xqueryVersion, java.lang.String message,
java.lang.String formatString, java.lang.String expr,
boolean retryable, java.lang.String[] data, QueryStackFrame[] stack)
Constructs an XQueryException
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXQueryVersion()
Returns the XQuery version (0.9-ml, 1.0-ml or
1.0) of the module that threw the exception.
|
getCode,
getData,
getFormatString,
getStack,
getW3CCode,
isRetryable,
toString
appendRequestInfo,
getRequest
public XQueryException(Request request, java.lang.String code, java.lang.String w3cCode, java.lang.String xqueryVersion, java.lang.String message, java.lang.String formatString, java.lang.String expr, boolean retryable, java.lang.String[] data, QueryStackFrame[] stack)
request
- The Request
object to
which this exception appliescode
- the symbolic exception codew3cCode
- the exception code defined by the XQuery
spec, if anyxqueryVersion
- the XQuery version of the module
that threw an exceptionmessage
- the exception messageformatString
- the exception format stringexpr
- The expression that caused the exception,
if applicableretryable
- retrying the operation may
succeeddata
- the exception datastack
- the xquery evaluator stack trace
Copyright © 2020 MarkLogic
Corporation
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
developer.marklogic.com