FailingUponPendingStep.java

  1. package org.jbehave.core.failures;

  2. public final class FailingUponPendingStep implements PendingStepStrategy {

  3.     @Override
  4.     public void handleFailure(Throwable throwable) throws Throwable {
  5.         throw throwable;
  6.     }

  7. }