XCC/J 3.2-9

com.marklogic.xcc.exceptions
Class RetryableXQueryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.marklogic.xcc.exceptions.XccException
              extended bycom.marklogic.xcc.exceptions.RequestException
                  extended bycom.marklogic.xcc.exceptions.RequestServerException
                      extended bycom.marklogic.xcc.exceptions.XQueryException
                          extended bycom.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 message, String formatString, String expr, boolean retryable, String[] data, XQueryStackFrame[] stack)
           
 
Methods inherited from class com.marklogic.xcc.exceptions.XQueryException
getCode, getData, getFormatString, getStack, isRetryable, toString
 
Methods inherited from class com.marklogic.xcc.exceptions.RequestException
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 message,
                                String formatString,
                                String expr,
                                boolean retryable,
                                String[] data,
                                XQueryStackFrame[] stack)

XCC/J 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

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