|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--multex.Swing
Services for reporting onto Swing dialogs the messages for any exception with dynamic or static or no internationalization. The exception can be
Exc
)
Failure
)
Awt
. Copyright 1999-2003Method Summary | |
static void |
report(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable)
Reports i_throwable into a Swing dialog with static internationalization. |
static void |
report(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable,
java.util.ResourceBundle i_resourceBundle)
Reports i_throwable into a Swing dialog. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void report(java.awt.Component io_ownerHook, java.lang.Throwable i_throwable)
Awt.report(Component, Throwable, ResourceBundle)
.
public static void report(java.awt.Component io_ownerHook, java.lang.Throwable i_throwable, java.util.ResourceBundle i_resourceBundle)
Awt.report(Component, Throwable, ResourceBundle)
.
In an application this method should not be called directly from a GUI class, but the author of each GUI class should set up a method e.g.
private void _report(Throwable e){Swing.report(this,e,null);}, which will be called from each catch-clause in the event listeners and adds the actual GUI class as the owner of the message dialog.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |