Package com.linecorp.armeria.client
Class ResponseTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.CancellationException
com.linecorp.armeria.common.TimeoutException
com.linecorp.armeria.client.ResponseTimeoutException
- All Implemented Interfaces:
Serializable
A
TimeoutException
raised when a response has not been received from a server within timeout.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseTimeoutException
get()
Returns a singletonResponseTimeoutException
or newly-created exception depending on the result ofSampler.isSampled(Object)
ofFlags.verboseExceptionSampler()
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
get
Returns a singletonResponseTimeoutException
or newly-created exception depending on the result ofSampler.isSampled(Object)
ofFlags.verboseExceptionSampler()
.
-