|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ehsbe.commons.gui.GuiErrorHandler
public class GuiErrorHandler
An GUI error handler - i.e. usually displays something in response to a throwable.
Constructor Summary | |
---|---|
GuiErrorHandler()
|
Method Summary | |
---|---|
void |
handle(Component parent,
Throwable t)
Do the appropriate action on a throwable. |
static void |
handleStandard(Component parent,
Throwable t)
Default method used to handle throwables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuiErrorHandler()
Method Detail |
---|
public void handle(Component parent, Throwable t)
For GUIs, the callee makes sure, that is method is called in the EDT (Event Dispatch Thread), so no need to take special handling here.
parent
- the anchor for a dialogt
- throwable to handlehandleStandard(Component, Throwable)
public static void handleStandard(Component parent, Throwable t)
parent
- the anchor for a dialogt
- throwable to handle
|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |