public final class FailFastException extends RuntimeException
| Constructor and Description |
|---|
FailFastException(CircuitBreaker circuitBreaker)
Creates a new instance with the specified
CircuitBreaker. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
CircuitBreaker |
getCircuitBreaker()
Returns the
CircuitBreaker that has detected the failure. |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FailFastException(CircuitBreaker circuitBreaker)
CircuitBreaker.public CircuitBreaker getCircuitBreaker()
CircuitBreaker that has detected the failure.public Throwable fillInStackTrace()
fillInStackTrace in class ThrowableCopyright © 2020 LeanCloud. All rights reserved.