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 Details

    • ClusterUncaughtExceptionHandler

      public ClusterUncaughtExceptionHandler(org.apache.flink.configuration.ClusterOptions.UncaughtExceptionHandleMode handleMode)
  • Method Details