Class FailFastException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.circuitbreaker.FailFastException
- All Implemented Interfaces:
Serializable
An exception indicating that a request has been failed by circuit breaker.
- See Also:
-
Constructor Summary
ConstructorDescriptionFailFastException
(CircuitBreaker circuitBreaker) Creates a new instance with the specifiedCircuitBreaker
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailFastException
Creates a new instance with the specifiedCircuitBreaker
.
-
-
Method Details
-
getCircuitBreaker
Returns theCircuitBreaker
that has detected the failure. -
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-