Uses of Interface
java.lang.Thread.UncaughtExceptionHandler
Packages that use Thread.UncaughtExceptionHandler
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Utility classes commonly useful in concurrent programming.
-
Uses of Thread.UncaughtExceptionHandler in java.lang
Classes in java.lang that implement Thread.UncaughtExceptionHandlerMethods in java.lang that return Thread.UncaughtExceptionHandlerModifier and TypeMethodDescriptionThread.getDefaultUncaughtExceptionHandler()
Returns the default handler invoked when a thread abruptly terminates due to an uncaught exception.Thread.getUncaughtExceptionHandler()
Returns the handler invoked when this thread abruptly terminates due to an uncaught exception.Methods in java.lang with parameters of type Thread.UncaughtExceptionHandlerModifier and TypeMethodDescriptionstatic void
Set the default handler invoked when a thread abruptly terminates due to an uncaught exception, and no other handler has been defined for that thread.void
Set the handler invoked when this thread abruptly terminates due to an uncaught exception. -
Uses of Thread.UncaughtExceptionHandler in java.util.concurrent
Methods in java.util.concurrent that return Thread.UncaughtExceptionHandlerModifier and TypeMethodDescriptionForkJoinPool.getUncaughtExceptionHandler()
Returns the handler for internal worker threads that terminate due to unrecoverable errors encountered while executing tasks.Constructors in java.util.concurrent with parameters of type Thread.UncaughtExceptionHandlerModifierConstructorDescriptionForkJoinPool
(int parallelism, ForkJoinPool.ForkJoinWorkerThreadFactory factory, Thread.UncaughtExceptionHandler handler, boolean asyncMode) Creates aForkJoinPool
with the given parameters (using defaults for others -- seeForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, boolean, int, int, int, Predicate, long, TimeUnit)
).ForkJoinPool
(int parallelism, ForkJoinPool.ForkJoinWorkerThreadFactory factory, Thread.UncaughtExceptionHandler handler, boolean asyncMode, int corePoolSize, int maximumPoolSize, int minimumRunnable, Predicate<? super ForkJoinPool> saturate, long keepAliveTime, TimeUnit unit) Creates aForkJoinPool
with the given parameters.