Package org.apache.heron.simulator
Class Simulator.DefaultExceptionHandler
- java.lang.Object
-
- org.apache.heron.simulator.Simulator.DefaultExceptionHandler
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
- Enclosing class:
- Simulator
public class Simulator.DefaultExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Handler for catching exceptions thrown by any threads (owned either by topology or heron infrastructure). Will flush all attached log handler and close them. Attempt to flush all the connection. Terminate the JVM.
-
-
Constructor Summary
Constructors Constructor Description DefaultExceptionHandler()
-
-
-
Method Detail
-
uncaughtException
public void uncaughtException(Thread thread, Throwable exception)
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
-