Class RequestDroppedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.servicetalk.capacity.limiter.api.RequestDroppedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DelayedRetryRequestDroppedException, RetryableRequestDroppedException

public class RequestDroppedException extends RuntimeException
An Exception to indicate that a request was dropped by a client/server likely due to capacity constraints or as-such interpretation of peer feedback according to configuration.
See Also:
  • Constructor Details

    • RequestDroppedException

      public RequestDroppedException()
      Creates a new instance.
    • RequestDroppedException

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

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

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

      public RequestDroppedException(@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