ru.tinkoff.kora.resilient.circuitbreaker.CallNotPermittedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resilient-kora Show documentation
Show all versions of resilient-kora Show documentation
Kora resilient-kora module
The newest version!
package ru.tinkoff.kora.resilient.circuitbreaker;
import ru.tinkoff.kora.resilient.ResilientException;
public final class CallNotPermittedException extends ResilientException {
public CallNotPermittedException(CircuitBreaker.State state, String name) {
super(name, "Call Is Not Permitted due to CircuitBreaker '" + name + "' been in " + state + " state");
}
}