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
ClusterOptionsto 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:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-
-