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 exceptions
Handles any uncaught exceptions according to cluster configuration in ClusterOptions
to either just log exception, or fail job.
-
Constructor Summary
ConstructorsConstructorDescriptionClusterUncaughtExceptionHandler(org.apache.flink.configuration.ClusterOptions.UncaughtExceptionHandleMode handleMode) -
Method Summary
-
Constructor Details
-
ClusterUncaughtExceptionHandler
public ClusterUncaughtExceptionHandler(org.apache.flink.configuration.ClusterOptions.UncaughtExceptionHandleMode handleMode)
-
-
Method Details
-
uncaughtException
- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-