src/main/java/org/varjoinen/testing/varjoend/Process.java
public void execute() throws Exception {

        validate();

        for (Step step : steps) {
            if (step == null) {
                return;
            }

            context.setCurrentStep(step);

            try {
                step.execute(context);
                successfulSteps.add(step);
            } catch (Exception e) {
                failedSteps.add(step);
                context.setProcessHasErrors(true);

                if (configuration.isPropagateExceptions()) {
                    throw e;
                }
            }
        }
    }
/**
     * Execute process by running every step in order
     *
     * @throws Exception If process integrity has failed or
     *                   If step fails and configuration allows propagation
     */
Execute process by running every step in order
@throws Exception If process integrity has failed or
If step fails and configuration allows propagation
Execute process by running every step in order @throws Exception If process integrity has failed or If step fails and configuration allows propagation
public void execute() throws Exception {
        validate();
        for (Step step : steps) {
            if (step == null) {
                return;
            }
            context.setCurrentStep(step);
            try {
                step.execute(context);
                successfulSteps.add(step);
            } catch (Exception e) {
                failedSteps.add(step);
                context.setProcessHasErrors(true);
                if (configuration.isPropagateExceptions()) {
                    throw e;
                }
            }
        }
    }
public void execute ( ) throws Exception { validate ( ) ; for ( Step step : steps ) { if ( step == null ) { return ; } context . setCurrentStep ( step ) ; try { step . execute ( context ) ; successfulSteps . add ( step ) ; } catch ( Exception e ) { failedSteps . add ( step ) ; context . setProcessHasErrors ( true ) ; if ( configuration . isPropagateExceptions ( ) ) { throw e ; } } } }
Execute process by running every step in order
 @throws Exception If process integrity has failed or
                   If step fails and configuration allows propagation
Execute process by running every step in order @throws Exception If process integrity has failed or If step fails and configuration allows propagation