Class CircuitBreakingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.lang3.concurrent.CircuitBreakingException
-
- All Implemented Interfaces:
java.io.Serializable
public class CircuitBreakingException extends java.lang.RuntimeException
An exception class used for reporting runtime error conditions related to circuit breakers.
- Since:
- 3.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CircuitBreakingException()
Creates a new, uninitialized instance ofCircuitBreakingException
.CircuitBreakingException(java.lang.String message)
Creates a new instance ofCircuitBreakingException
and initializes it with the given message.CircuitBreakingException(java.lang.String message, java.lang.Throwable cause)
Creates a new instance ofCircuitBreakingException
and initializes it with the given message and cause.CircuitBreakingException(java.lang.Throwable cause)
Creates a new instance ofCircuitBreakingException
and initializes it with the given cause.
-
-
-
Constructor Detail
-
CircuitBreakingException
public CircuitBreakingException()
Creates a new, uninitialized instance ofCircuitBreakingException
.
-
CircuitBreakingException
public CircuitBreakingException(java.lang.String message, java.lang.Throwable cause)
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
public CircuitBreakingException(java.lang.String message)
Creates a new instance ofCircuitBreakingException
and initializes it with the given message.- Parameters:
message
- the error message
-
CircuitBreakingException
public CircuitBreakingException(java.lang.Throwable cause)
Creates a new instance ofCircuitBreakingException
and initializes it with the given cause.- Parameters:
cause
- the cause of this exception
-
-