Class FaultToleranceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BulkheadException
,CircuitBreakerOpenException
,FaultToleranceDefinitionException
,TimeoutException
The exception should be thrown when the maximum retries is reached or overall retry duration is reached, circuit
breaker is open, timeout occurred. Emily Jiang
- See Also:
-
Constructor Summary
ConstructorDescriptionFaultToleranceException
(String message) FaultToleranceException
(String message, Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FaultToleranceException
public FaultToleranceException() -
FaultToleranceException
-
FaultToleranceException
-
FaultToleranceException
-