org.apache.pig.backend.hadoop.executionengine
Class Launcher.JobControlThreadExceptionHandler

java.lang.Object
  extended by 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


Constructor Summary
Launcher.JobControlThreadExceptionHandler()
           
 
Method Summary
 void uncaughtException(Thread thread, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Launcher.JobControlThreadExceptionHandler

public Launcher.JobControlThreadExceptionHandler()
Method Detail

uncaughtException

public void uncaughtException(Thread thread,
                              Throwable throwable)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler


Copyright © 2007-2012 The Apache Software Foundation