Example usage for org.apache.commons.pipeline StageDriver getProcessingExceptions

List of usage examples for org.apache.commons.pipeline StageDriver getProcessingExceptions

Introduction

In this page you can find the example usage for org.apache.commons.pipeline StageDriver getProcessingExceptions.

Prototype

public List<ProcessingException> getProcessingExceptions();

Source Link

Document

Returns a list of errors that occurred while processing data objects, along with the objects that were being processed when the errors were generated.

Usage

From source file:edu.scripps.fl.pipeline.PipelineUtils.java

public void logErrors(Pipeline pipeline) {
    for (StageDriver driver : pipeline.getStageDrivers()) {
        for (ProcessingException pe : driver.getProcessingExceptions()) {
            log.error(String.format("%s\t%s", pe.getData(), pe.getCause()));
        }/*from   w ww  . j ava2s  . c om*/
    }
}