public class ClusterUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Handles any uncaught exceptions according to cluster configuration in ClusterOptions
to either just log exception, or fail job.
Constructor and Description |
---|
ClusterUncaughtExceptionHandler(ClusterOptions.UncaughtExceptionHandleMode handleMode) |
public ClusterUncaughtExceptionHandler(ClusterOptions.UncaughtExceptionHandleMode handleMode)
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.