XCC/J 6.0-3

com.marklogic.xcc.exceptions
Class RetryableXQueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.marklogic.xcc.exceptions.XccException
              extended by com.marklogic.xcc.exceptions.RequestException
                  extended by com.marklogic.xcc.exceptions.RequestServerException
                      extended by com.marklogic.xcc.exceptions.XQueryException
                          extended by com.marklogic.xcc.exceptions.RetryableXQueryException
All Implemented Interfaces:
Serializable

public class RetryableXQueryException
extends XQueryException

A specialization of XQueryException which is always retryable, to define a distinct exception type that can be caught separately. Note that in most cases, retryable exceptions will be retried automatically.

See Also:
RequestOptions.setMaxAutoRetry(int), Serialized Form

Constructor Summary
RetryableXQueryException(Request request, String code, String w3cCode, String xqueryVersion, String message, String formatString, String expr, boolean retryable, String[] data, XQueryStackFrame[] stack)
           
 
Method Summary
 
Methods inherited from class com.marklogic.xcc.exceptions.XQueryException
getCode, getData, getFormatString, getStack, getW3CCode, getXQueryVersion, isRetryable, toString
 
Methods inherited from class com.marklogic.xcc.exceptions.RequestException
appendRequestInfo, getRequest
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetryableXQueryException

public RetryableXQueryException(Request request,
                                String code,
                                String w3cCode,
                                String xqueryVersion,
                                String message,
                                String formatString,
                                String expr,
                                boolean retryable,
                                String[] data,
                                XQueryStackFrame[] stack)

XCC/J 6.0-3

Copyright © 2013 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com