org.freecompany.util.multicaster

Class ExceptionHandler

public class ExceptionHandler extends Object implements UncaughtExceptionHandler

Handles threading exceptions by distributing them to a collection queue for processing by the framework.
Field Summary
protected Notificationlistener
Constructor Summary
ExceptionHandler()
ExceptionHandler(Notification listener)
Method Summary
voidaddListener(Notification listener)
voidremoveListener(Notification listener)
voiduncaughtException(Thread thread, Throwable t)

Field Detail

listener

protected Notification listener

Constructor Detail

ExceptionHandler

public ExceptionHandler()

ExceptionHandler

public ExceptionHandler(Notification listener)

Method Detail

addListener

public void addListener(Notification listener)

removeListener

public void removeListener(Notification listener)

uncaughtException

public void uncaughtException(Thread thread, Throwable t)