Class SetBasedExceptionDecision
- java.lang.Object
-
- io.smallrye.faulttolerance.core.util.SetBasedExceptionDecision
-
- All Implemented Interfaces:
ExceptionDecision
public class SetBasedExceptionDecision extends Object implements ExceptionDecision
-
-
Field Summary
-
Fields inherited from interface io.smallrye.faulttolerance.core.util.ExceptionDecision
ALWAYS_EXPECTED, ALWAYS_FAILURE
-
-
Constructor Summary
Constructors Constructor Description SetBasedExceptionDecision(SetOfThrowables consideredFailure, SetOfThrowables consideredExpected, boolean inspectCauseChain)
-
-
-
Constructor Detail
-
SetBasedExceptionDecision
public SetBasedExceptionDecision(SetOfThrowables consideredFailure, SetOfThrowables consideredExpected, boolean inspectCauseChain)
-
-
Method Detail
-
isConsideredExpected
public boolean isConsideredExpected(Throwable e)
- Specified by:
isConsideredExpectedin interfaceExceptionDecision
-
-