|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.common.util.concurrent.UncaughtExceptionHandlers
public final class UncaughtExceptionHandlers
Factories for Thread.UncaughtExceptionHandler instances.
| Method Summary | |
|---|---|
static java.lang.Thread.UncaughtExceptionHandler |
systemExit()
Returns an exception handler that exits the system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.Thread.UncaughtExceptionHandler systemExit()
Example usage:
public static void main(String[] args) {
Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
...
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||