hudson.util
Class ExceptionCatchingThreadFactory
java.lang.Object
hudson.util.ExceptionCatchingThreadFactory
- All Implemented Interfaces:
- Thread.UncaughtExceptionHandler, ThreadFactory
public class ExceptionCatchingThreadFactory
- extends Object
- implements ThreadFactory, Thread.UncaughtExceptionHandler
ThreadFactory
that creates a thread, which in turn displays a stack trace
when it terminates unexpectedly.
- Since:
- 1.226
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionCatchingThreadFactory
public ExceptionCatchingThreadFactory()
ExceptionCatchingThreadFactory
public ExceptionCatchingThreadFactory(ThreadFactory core)
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interface ThreadFactory
uncaughtException
public void uncaughtException(Thread t,
Throwable e)
- Specified by:
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2004-2013. All Rights Reserved.