Package org.jbehave.core.failures
Interface FailureStrategy
-
- All Known Subinterfaces:
PendingStepStrategy
- All Known Implementing Classes:
FailingUponPendingStep
,PassingUponPendingStep
,RethrowingFailure
,SilentlyAbsorbingFailure
public interface FailureStrategy
FailureStrategy allows to define failure handling strategies. Two standard strategies are provided:SilentlyAbsorbingFailure
: silently absorbs the failureRethrowingFailure
: rethrows the failure
-
-
Method Summary
Modifier and Type Method Description void
handleFailure(Throwable throwable)
-