|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--multex.Awt
Services for reporting onto AWT windows the messages for any exception. The exception can be
| Method Summary | |
static void |
report(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable)
Reports i_throwable blocking the owner Window. |
static void |
report(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable,
boolean i_modal)
Reports i_throwable optionally blocking the owner Window, detail description here. |
static void |
report(java.lang.Throwable i_throwable)
Reports i_throwable using a shared owner Frame. |
static void |
reportNonmodal(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable)
Reports i_throwable not blocking the owner Window. |
| 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.lang.Throwable i_throwable)
report(java.awt.Component,Throwable) and give it the owner Window
or a component, from which the owner Window can be determined.
Reports the same contents as report(java.awt.Component,Throwable,boolean).
public static void report(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable)
report(java.awt.Component,Throwable,boolean).
public static void report(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable,
boolean i_modal)
Msg.printMessages(StringBuffer, Throwable)
into a pop-up window of appropriate size.
Accepting the message is done by
The Button "Show Stack Trace" will add the compactified
stack trace including the chain of all causing exceptions
to the message dialog box. The contents of the compact
stack trace are described at method
Msg.printStackTrace(StringBuffer,Throwable).
The owner Window of the dialog box will be determined from io_ownerHook by searching the nearest parent Window. If i_modal holds, will block further input to the owner Window, until this dialog box will be closed.
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
private void _report(Throwable e){Awt.report(this,e);}
, 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.
Msg.printReport(StringBuffer,Throwable)
public static void reportNonmodal(java.awt.Component io_ownerHook,
java.lang.Throwable i_throwable)
report(java.awt.Component,Throwable,boolean).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||