public final class REEFUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
It catches all exceptions and sends them to the controlling process. For Evaluators, that is the Driver. For the Driver, that is the Client.
After sending the exception, this shuts down the JVM, as this JVM is then officially dead.
Constructor and Description |
---|
REEFUncaughtExceptionHandler(Configuration errorHandlerConfig) |
@Inject public REEFUncaughtExceptionHandler(Configuration errorHandlerConfig)
errorHandlerConfig
- public void uncaughtException(Thread thread, Throwable throwable)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2017 The Apache Software Foundation. All rights reserved.