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