org.deduced.utilities
Class ExceptionRunnable

java.lang.Object
  extended by org.deduced.utilities.ExceptionRunnable
All Implemented Interfaces:
java.lang.Runnable

public abstract class ExceptionRunnable
extends java.lang.Object
implements java.lang.Runnable

ExceptionRunnable is an extension runnable class that allows exception to be thrown.

Author:
Steve McDuff

Constructor Summary
ExceptionRunnable()
           
 
Method Summary
 void run()
          (non-JSDoc)
abstract  void runAndThrow()
          run the desired actions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionRunnable

public ExceptionRunnable()
Method Detail

runAndThrow

public abstract void runAndThrow()
                          throws java.lang.Exception
run the desired actions

Throws:
java.lang.Exception - any exceptions that is encountered during the execution

run

public void run()
(non-JSDoc)

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()