org.xnap.commons.gui
Class ErrorHandler

java.lang.Object
  extended by org.xnap.commons.gui.ErrorHandler
All Implemented Interfaces:
EventListener, UncaughtExceptionListener

public class ErrorHandler
extends Object
implements UncaughtExceptionListener


Constructor Summary
ErrorHandler(Component parent, UncaughtExceptionManager exceptionManager, BooleanSetting showDialogSetting, BooleanSetting detailsVisibleSetting)
           
 
Method Summary
 void handle(Throwable e)
           
 void setParent(Component parent)
           
 void uncaughtException(Thread t, Throwable e)
          Invoked when a thread stops because of an uncaught exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandler

public ErrorHandler(Component parent,
                    UncaughtExceptionManager exceptionManager,
                    BooleanSetting showDialogSetting,
                    BooleanSetting detailsVisibleSetting)
Method Detail

handle

public void handle(Throwable e)

setParent

public void setParent(Component parent)

uncaughtException

public void uncaughtException(Thread t,
                              Throwable e)
Description copied from interface: UncaughtExceptionListener
Invoked when a thread stops because of an uncaught exception.

Specified by:
uncaughtException in interface UncaughtExceptionListener


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.