Package com.linecorp.armeria.client
Class ResponseCancellationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.CancellationException
com.linecorp.armeria.client.ResponseCancellationException
- All Implemented Interfaces:
Serializable
A
CancellationException
raised when a response is cancelled by the user.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionget()
Returns a singletonResponseCancellationException
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 singletonResponseCancellationException
or newly-created exception depending on the result ofSampler.isSampled(Object)
ofFlags.verboseExceptionSampler()
.
-