Class TooManyPendingAcquisitionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.limit.TooManyPendingAcquisitionsException
- All Implemented Interfaces:
Serializable
A
RuntimeException
raised when the number of pending acquisitions exceeds the
ConcurrencyLimitBuilder.maxPendingAcquisitions(int)
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionget()
Returns a singletonTooManyPendingAcquisitionsException
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 singletonTooManyPendingAcquisitionsException
or newly-created exception depending on the result ofSampler.isSampled(Object)
ofFlags.verboseExceptionSampler()
.
-