Liferay 6.2-ce-ga5

com.liferay.portal.kernel.concurrent
Class ThrowableAwareRunnable

java.lang.Object
  extended by com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable
All Implemented Interfaces:
Runnable

public abstract class ThrowableAwareRunnable
extends Object
implements Runnable


Constructor Summary
ThrowableAwareRunnable()
           
 
Method Summary
protected abstract  void doRun()
           
 Throwable getThrowable()
           
 boolean hasException()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowableAwareRunnable

public ThrowableAwareRunnable()
Method Detail

getThrowable

public Throwable getThrowable()

hasException

public boolean hasException()

run

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

doRun

protected abstract void doRun()
                       throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5