com.limegroup.gnutella
Interface ErrorCallback

All Known Implementing Classes:
Main

public interface ErrorCallback

Interface to notify the user interface of an error.


Method Summary
 void error(java.lang.Throwable t)
          Displays an error stack trace to the user with a generic message.
 void error(java.lang.Throwable t, java.lang.String msg)
          Displays an error stack trace to the user with a specific message.
 

Method Detail

error

public void error(java.lang.Throwable t)
Displays an error stack trace to the user with a generic message.

Parameters:
t - the Throwable instance containing the stack trace to display

error

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

Parameters:
t - the Throwable instance containing the stack trace to display
msg - the message to display.