org.webbitserver.netty
Class CatchingRunnable

java.lang.Object
  extended by org.webbitserver.netty.CatchingRunnable
All Implemented Interfaces:
Runnable

public abstract class CatchingRunnable
extends Object
implements Runnable


Constructor Summary
CatchingRunnable(Thread.UncaughtExceptionHandler exceptionHandler)
           
 
Method Summary
protected abstract  void go()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchingRunnable

public CatchingRunnable(Thread.UncaughtExceptionHandler exceptionHandler)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

go

protected abstract void go()
                    throws Throwable
Throws:
Throwable


Copyright © 2013. All Rights Reserved.