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
A
RuntimeException
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
the lastStreamId
less than the stream ID of the request.- See Also:
- Section 6.8, RFC7540, Serialized Form
-
Method Summary
Modifier and Type Method Description Throwable
fillInStackTrace()
Throwable
getCause()
static UnprocessedRequestException
of(Throwable cause)
Methods inherited from class java.lang.Throwable
addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
of
-
getCause
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-