com.marklogic.xcc.spi

## Class ConnectionErrorAction

- java.lang.Object
- - com.marklogic.xcc.spi.ConnectionErrorAction

-     public class ConnectionErrorAction
      extends java.lang.Object

  This is a type-safe enumeration that defines the possible return values of `ConnectionProvider.returnErrorConnection(ServerConnection, Throwable, java.util.logging.Logger)` .

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ConnectionErrorAction` | `FAIL`
    `static ConnectionErrorAction` | `RETRY`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### FAIL

          public static final ConnectionErrorAction FAIL

    - #### RETRY

          public static final ConnectionErrorAction RETRY

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 2025 MarkLogic Corporation

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