Package 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
- See Also:
-
Constructor Summary
ConstructorDescription -
Method Summary
-
Constructor Details
-
ExceptionCatchingThreadFactory
public ExceptionCatchingThreadFactory() -
ExceptionCatchingThreadFactory
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-
uncaughtException
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-