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
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 Summary
ConstructorsConstructorDescriptionCreates a new instance.RequestDroppedException
(String message) Creates a new instance.RequestDroppedException
(String message, Throwable cause) Creates a new instance.RequestDroppedException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance.RequestDroppedException
(Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestDroppedException
public RequestDroppedException()Creates a new instance. -
RequestDroppedException
Creates a new instance.- Parameters:
message
- the detail message.
-
RequestDroppedException
Creates a new instance.- Parameters:
message
- the detail message.cause
- of this exception.
-
RequestDroppedException
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
-