Package dev.tripswitch
Class BreakerOpenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.tripswitch.TripSwitchException
dev.tripswitch.BreakerOpenException
- All Implemented Interfaces:
Serializable
Thrown when a circuit breaker is open or a half-open request is rejected.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the breaker that is open, or null if unknown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BreakerOpenException
-
BreakerOpenException
public BreakerOpenException()
-
-
Method Details
-
getBreakerName
Returns the name of the breaker that is open, or null if unknown.
-