com.limegroup.gnutella.gui
Class ErrorHandler

java.lang.Object
  extended bycom.limegroup.gnutella.gui.ErrorHandler
All Implemented Interfaces:
com.limegroup.gnutella.ErrorCallback

public final class ErrorHandler
extends java.lang.Object
implements com.limegroup.gnutella.ErrorCallback

This class handles putting error callbacks onto the swing thread for display.


Constructor Summary
ErrorHandler()
           
 
Method Summary
 void error(java.lang.Throwable problem)
          Displays the error to the user.
 void error(java.lang.Throwable problem, java.lang.String msg)
          Displays the error to the user with a specific message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandler

public ErrorHandler()
Method Detail

error

public void error(java.lang.Throwable problem)
Displays the error to the user.

Specified by:
error in interface com.limegroup.gnutella.ErrorCallback

error

public void error(java.lang.Throwable problem,
                  java.lang.String msg)
Displays the error to the user with a specific message.

Specified by:
error in interface com.limegroup.gnutella.ErrorCallback