org.apache.pig.backend.hadoop.executionengine
Class Launcher.JobControlThreadExceptionHandler
java.lang.Object
org.apache.pig.backend.hadoop.executionengine.Launcher.JobControlThreadExceptionHandler
- All Implemented Interfaces:
- Thread.UncaughtExceptionHandler
- Enclosing class:
- Launcher
public class Launcher.JobControlThreadExceptionHandler
- extends Object
- implements Thread.UncaughtExceptionHandler
An exception handler class to handle exceptions thrown by the job controller thread
Its a local class. This is the only mechanism to catch unhandled thread exceptions
Unhandled exceptions in threads are handled by the VM if the handler is not registered
explicitly or if the default handler is null
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Launcher.JobControlThreadExceptionHandler
public Launcher.JobControlThreadExceptionHandler()
uncaughtException
public void uncaughtException(Thread thread,
Throwable throwable)
- Specified by:
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2007-2012 The Apache Software Foundation