jconch.pipeline.impl
Class ExceptionThreadingModel
java.lang.Object
jconch.pipeline.impl.ExceptionThreadingModel
- All Implemented Interfaces:
- ThreadingModel
public class ExceptionThreadingModel
- extends Object
- implements ThreadingModel
Class that explodes when execute(PipelineStage) is called.
|
Method Summary |
void |
execute(PipelineStage toRun)
Wraps the execution of the pipeline in the appropriate threading. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionThreadingModel
public ExceptionThreadingModel()
execute
public void execute(PipelineStage toRun)
- Description copied from interface:
ThreadingModel
- Wraps the execution of the pipeline in the appropriate threading.
- Specified by:
execute in interface ThreadingModel
- Parameters:
toRun - The stage to run.
- Throws:
RuntimeException - Always.