jconch.pipeline.impl
Class ExceptionThreadingModel

java.lang.Object
  extended by jconch.pipeline.impl.ExceptionThreadingModel
All Implemented Interfaces:
ThreadingModel

public class ExceptionThreadingModel
extends java.lang.Object
implements ThreadingModel

Class that explodes when execute(PipeStage) is called.


Constructor Summary
ExceptionThreadingModel()
           
 
Method Summary
 void execute(PipeStage 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
 

Constructor Detail

ExceptionThreadingModel

public ExceptionThreadingModel()
Method Detail

execute

public void execute(PipeStage 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:
java.lang.RuntimeException - Always.