Package com.linecorp.armeria.client
Class UnprocessedRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.linecorp.armeria.client.UnprocessedRequestException
-
- All Implemented Interfaces:
Serializable
public final class UnprocessedRequestException extends RuntimeException
ARuntimeException
raised when it is certain that a request has not been handled by a server and thus can be retried safely. This exception is usually raised when a server sent an HTTP/2 GOAWAY frame with thelastStreamId
less than the stream ID of the request.- See Also:
- Section 6.8, RFC7540, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnprocessedRequestException(String message, Throwable cause)
Creates a new instance with the specifiedmessage
andcause
.UnprocessedRequestException(Throwable cause)
Creates a new instance with the specifiedcause
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
fillInStackTrace()
Throwable
getCause()
-
Methods inherited from class java.lang.Throwable
addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnprocessedRequestException
public UnprocessedRequestException(@Nullable String message, Throwable cause)
Creates a new instance with the specifiedmessage
andcause
.
-
UnprocessedRequestException
public UnprocessedRequestException(Throwable cause)
Creates a new instance with the specifiedcause
.
-
-