public class DefaultUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Installing this handler will automatically log the exceptions that would otherwise be missed; e.g., when things go awry on the AWT Event Dispatch Thread.
| Constructor and Description |
|---|
DefaultUncaughtExceptionHandler(LogService log) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Exception exception) |
static void |
install(LogService log) |
void |
uncaughtException(Thread thread,
Throwable throwable) |
public DefaultUncaughtExceptionHandler(LogService log)
public void uncaughtException(Thread thread, Throwable throwable)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic void handle(Exception exception)
public static void install(LogService log)
Copyright © 2015–2022 SciJava. All rights reserved.