Class RetryableRequestDroppedException

All Implemented Interfaces:
RetryableException, Serializable

public final class RetryableRequestDroppedException extends RequestDroppedException implements RetryableException
A retryable RequestDroppedException to indicate that a request was dropped by a client/server due to capacity constraints.

Instances of this exception are expected to be thrown when a client side capacity is reached, thus the exception did not touch the "wire" (network) yet, meaning that its safe to be retried. Retries are useful in the context of capacity, to maximize chances for a request to succeed.

See Also:
  • Constructor Details

    • RetryableRequestDroppedException

      public RetryableRequestDroppedException()
      Creates a new instance.
    • RetryableRequestDroppedException

      public RetryableRequestDroppedException(@Nullable String message)
      Creates a new instance.
      Parameters:
      message - the detail message.
    • RetryableRequestDroppedException

      public RetryableRequestDroppedException(@Nullable String message, @Nullable Throwable cause)
      Creates a new instance.
      Parameters:
      message - the detail message.
      cause - of this exception.
    • RetryableRequestDroppedException

      public RetryableRequestDroppedException(@Nullable Throwable cause)
      Creates a new instance.
      Parameters:
      cause - of this exception.
    • RetryableRequestDroppedException

      public RetryableRequestDroppedException(@Nullable String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Creates a new instance.
      Parameters:
      message - the detail message.
      cause - of this exception.
      enableSuppression - true if suppression should be enabled.
      writableStackTrace - true if the stack trace should be writable