Interface ExceptionStrategy

All Known Implementing Classes:
FailFastStrategy

public interface ExceptionStrategy

ExceptionStrategy

The ExceptionStrategy handles the way GraphWalker handles failures during test execution.

Implementing this interface, allows a developer to handle failures during testing. The default way for GraphWalker, is to bail out immediately, see {FailFastStrategy}. Another way could be to implement some recovery strategy.

Author:
Nils Olsson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Machine machine, MachineException exception)