public class CallNotAllowedException extends RuntimeException
A CallNotAllowedException
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 CallNotAllowedException |
createCallNotAllowedException(String message,
boolean writableStackTrace)
Static method to construct a
CallNotAllowedException |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static CallNotAllowedException createCallNotAllowedException(String message, boolean writableStackTrace)
Static method to construct a CallNotAllowedException
message
- the detail message.writableStackTrace
- whether or not the stack trace should be writableCallNotAllowedException
instanceCopyright © 2016–2024. All rights reserved.