Package org.apache.storm.executor.error
Class ReportErrorAndDie
- java.lang.Object
-
- org.apache.storm.executor.error.ReportErrorAndDie
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
public class ReportErrorAndDie extends Object implements Thread.UncaughtExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description ReportErrorAndDie(IReportError reportError, Runnable suicideFn)
-
-
-
Constructor Detail
-
ReportErrorAndDie
public ReportErrorAndDie(IReportError reportError, Runnable suicideFn)
-
-
Method Detail
-
uncaughtException
public void uncaughtException(Thread t, Throwable e)
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
-