Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
---|
Modifier and Type | Class and Description |
---|---|
class |
ThreadGroup
A thread group represents a set of threads. |
Modifier and Type | Method and Description |
---|---|
static Thread.UncaughtExceptionHandler |
Thread.getDefaultUncaughtExceptionHandler()
Returns the default handler invoked when a thread abruptly terminates due to an uncaught exception. |
Thread.UncaughtExceptionHandler |
Thread.getUncaughtExceptionHandler()
Returns the handler invoked when this thread abruptly terminates due to an uncaught exception. |
Modifier and Type | Method and Description |
---|---|
static void |
Thread.setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
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 |
Thread.setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
Set the handler invoked when this thread abruptly terminates due to an uncaught exception. |
Uses of Thread.UncaughtExceptionHandler in java.util.concurrent |
---|
Modifier and Type | Method and Description |
---|---|
Thread.UncaughtExceptionHandler |
ForkJoinPool.getUncaughtExceptionHandler()
Returns the handler for internal worker threads that terminate due to unrecoverable errors encountered while executing tasks. |
Constructor and Description |
---|
ForkJoinPool(int parallelism,
ForkJoinPool.ForkJoinWorkerThreadFactory factory,
Thread.UncaughtExceptionHandler handler,
boolean asyncMode)
Creates a ForkJoinPool with the given parameters. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.