Class CircuitBreakingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang3.concurrent.CircuitBreakingException
- All Implemented Interfaces:
Serializable
An exception class used for reporting runtime error conditions related to
circuit breakers.
- Since:
- 3.5
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new, uninitialized instance ofCircuitBreakingException
.CircuitBreakingException
(String message) Creates a new instance ofCircuitBreakingException
and initializes it with the given message.CircuitBreakingException
(String message, Throwable cause) Creates a new instance ofCircuitBreakingException
and initializes it with the given message and cause.Creates a new instance ofCircuitBreakingException
and initializes it with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CircuitBreakingException
public CircuitBreakingException()Creates a new, uninitialized instance ofCircuitBreakingException
. -
CircuitBreakingException
Creates a new instance ofCircuitBreakingException
and initializes it with the given message.- Parameters:
message
- the error message
-
CircuitBreakingException
Creates a new instance ofCircuitBreakingException
and initializes it with the given message and cause.- Parameters:
message
- the error messagecause
- the cause of this exception
-
CircuitBreakingException
Creates a new instance ofCircuitBreakingException
and initializes it with the given cause.- Parameters:
cause
- the cause of this exception
-