public class ExceptionHandler
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected Notification |
listener |
Constructor and Description |
---|
ExceptionHandler() |
ExceptionHandler(Notification listener) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Notification listener) |
void |
removeListener(Notification listener) |
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable t) |
protected Notification listener
public ExceptionHandler()
public ExceptionHandler(Notification listener)
public void addListener(Notification listener)
public void removeListener(Notification listener)
public void uncaughtException(java.lang.Thread thread, java.lang.Throwable t)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler