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
-
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
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 Details
-
UnprocessedRequestException
Creates a new instance with the specifiedmessage
andcause
. -
UnprocessedRequestException
Creates a new instance with the specifiedcause
.
-
-
Method Details
-
getCause
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-