|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.ErrorService
This class handles displaying errors from the backend to the user. The method to set the callback must be called immediately to allow the backend to use this service during construction time.
Method Summary | |
static void |
error(java.lang.Throwable problem)
Displays the error to the user. |
static void |
error(java.lang.Throwable problem,
java.lang.String detail)
Displays the error to the user with a specific detail information. |
static ErrorCallback |
getErrorCallback()
Gets the ErrorCallback currently in use. |
static void |
setErrorCallback(ErrorCallback callback)
Sets the ErrorCallback class to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setErrorCallback(ErrorCallback callback)
public static ErrorCallback getErrorCallback()
public static void error(java.lang.Throwable problem)
public static void error(java.lang.Throwable problem, java.lang.String detail)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |