public class CallNotPermittedException
extends java.lang.RuntimeException
CallNotPermittedException signals that the CircuitBreaker is HALF_OPEN or OPEN and a
call is not permitted to be executed.| Modifier and Type | Method and Description |
|---|---|
static CallNotPermittedException |
createCallNotPermittedException(CircuitBreaker circuitBreaker)
Static method to construct a
CallNotPermittedException with a CircuitBreaker. |
public static CallNotPermittedException createCallNotPermittedException(CircuitBreaker circuitBreaker)
CallNotPermittedException with a CircuitBreaker.circuitBreaker - the CircuitBreaker.