Uses of Interface
java.lang.Thread.UncaughtExceptionHandler
-
Packages that use Thread.UncaughtExceptionHandler Package Description java.lang Provides classes that are fundamental to the design of the Java programming language.java.util.concurrent Utility classes commonly useful in concurrent programming. -
-
Uses of Thread.UncaughtExceptionHandler in java.lang
Classes in java.lang that implement Thread.UncaughtExceptionHandler Modifier and Type Class Description class
ThreadGroup
ThreadGroups are containers of Threads and ThreadGroups, therefore providing a tree-like structure to organize Threads.Methods in java.lang that return Thread.UncaughtExceptionHandler Modifier and Type Method Description static Thread.UncaughtExceptionHandler
Thread. getDefaultUncaughtExceptionHandler()
Return the default UncaughtExceptionHandler used for new Threads.Thread.UncaughtExceptionHandler
Thread. getUncaughtExceptionHandler()
Return the UncaughtExceptionHandler for this Thread.Methods in java.lang with parameters of type Thread.UncaughtExceptionHandler Modifier and Type Method Description static void
Thread. setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler)
Set the UncaughtExceptionHandler used for new Threads.void
Thread. setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler)
Set the UncaughtExceptionHandler for this Thread. -
Uses of Thread.UncaughtExceptionHandler in java.util.concurrent
Methods in java.util.concurrent that return Thread.UncaughtExceptionHandler Modifier and Type Method Description Thread.UncaughtExceptionHandler
ForkJoinPool. 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.UncaughtExceptionHandler Constructor Description ForkJoinPool(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.
-