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 isRetryable, 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,
toStringappendRequestInfo,
getRequest,
isRetryable,
isRetryAdvisedpublic 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 isRetryable, 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 applicableisRetryable - retrying the operation may
succeeddata - the exception datastack - the xquery evaluator stack trace
Copyright (c) 2006-2026 Progress
Software Corporation and/or its subsidiaries or affiliates. All
Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
docs.progress.com