Package org.apache.flink.runtime.util
Class ClusterUncaughtExceptionHandler
- java.lang.Object
-
- org.apache.flink.runtime.util.ClusterUncaughtExceptionHandler
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
public class ClusterUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Utility for handling any uncaught exceptionsHandles any uncaught exceptions according to cluster configuration in
ClusterOptions
to either just log exception, or fail job.
-
-
Constructor Summary
Constructors Constructor Description ClusterUncaughtExceptionHandler(org.apache.flink.configuration.ClusterOptions.UncaughtExceptionHandleMode handleMode)
-
-
-
Method Detail
-
uncaughtException
public void uncaughtException(Thread t, Throwable e)
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
-