Uses of Interface
java.lang.Thread.UncaughtExceptionHandler
| Package | Description |
|---|---|
| java.lang | |
| 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 classThreadGroupThreadGroupis a means of organizing threads into a hierarchical structure.Methods in java.lang that return Thread.UncaughtExceptionHandler Modifier and Type Method Description static Thread.UncaughtExceptionHandlerThread. getDefaultUncaughtExceptionHandler()Returns the default exception handler that's executed when uncaught exception terminates a thread.Thread.UncaughtExceptionHandlerThread. getUncaughtExceptionHandler()Returns the thread's uncaught exception handler.Methods in java.lang with parameters of type Thread.UncaughtExceptionHandler Modifier and Type Method Description static voidThread. setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler)Sets the default uncaught exception handler.voidThread. setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler)Sets the uncaught exception handler. -
Uses of Thread.UncaughtExceptionHandler in java.util.concurrent
Methods in java.util.concurrent that return Thread.UncaughtExceptionHandler Modifier and Type Method Description Thread.UncaughtExceptionHandlerForkJoinPool. 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 aForkJoinPoolwith the given parameters.