public final class RetryableRequestDroppedException
extends RequestDroppedException
implements RetryableException
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.
| Constructor and Description |
|---|
RetryableRequestDroppedException()
Creates a new instance.
|
RetryableRequestDroppedException(String message)
Creates a new instance.
|
RetryableRequestDroppedException(String message,
Throwable cause)
Creates a new instance.
|
RetryableRequestDroppedException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Creates a new instance.
|
RetryableRequestDroppedException(Throwable cause)
Creates a new instance.
|
public RetryableRequestDroppedException()
public RetryableRequestDroppedException(@Nullable
String message)
message - the detail message.public RetryableRequestDroppedException(@Nullable
String message,
@Nullable
Throwable cause)
message - the detail message.cause - of this exception.public RetryableRequestDroppedException(@Nullable
Throwable cause)
cause - of this exception.public RetryableRequestDroppedException(@Nullable
String message,
@Nullable
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
message - the detail message.cause - of this exception.enableSuppression - true if suppression should be enabled.writableStackTrace - true if the stack trace should be writable