CallNotPermittedException signals that the CircuitBreaker is HALF_OPEN or OPEN and a
call is not permitted to be executed.
| Modifier and Type | Field and Description |
|---|---|
| private final transient String |
| Access | Constructor and Description |
|---|---|
| private | CallNotPermittedException(CircuitBreaker circuitBreaker, String message, boolean writableStackTrace)
|
| Modifier and Type | Method and Description |
|---|---|
| public static CallNotPermittedException | createCallNotPermittedException(CircuitBreaker
the CircuitBreaker. circuitBreaker)Static method to construct a |
| public String | Returns: the name ofCircuitBreaker that caused this exception.Returns the name of |
| causingCircuitBreakerName | back to summary |
|---|---|
| private final transient String causingCircuitBreakerName | |
| CallNotPermittedException | back to summary |
|---|---|
| private CallNotPermittedException(CircuitBreaker circuitBreaker, String message, boolean writableStackTrace) | |
| createCallNotPermittedException | back to summary |
|---|---|
| public static CallNotPermittedException createCallNotPermittedException(CircuitBreaker circuitBreaker) Static method to construct a
| |
| getCausingCircuitBreakerName | back to summary |
|---|---|
| public String getCausingCircuitBreakerName() Returns the name of
| |