|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.UnexpectedErrorMessage
public class UnexpectedErrorMessage
An unexpected error message alert.
This alert is used to report "unexpected" Java exceptions. It contains the stop icon, the title "Unexpected Error", an optional additional message supplied by the caller, and a full stack trace in a scrolling text area. The alert can be used to catch and report exceptions even in threads other than the AWT event dispatching thread.
You may supply extra verbiage to be included in the report before the stack trace.
Constructor Summary | |
---|---|
UnexpectedErrorMessage(java.lang.Throwable t)
Constructs and displays an unexpected error message alert with no parent window or message. |
|
UnexpectedErrorMessage(java.lang.Throwable t,
java.lang.String msg)
Constructs and displays an unexpected error message alert with no parent window. |
|
UnexpectedErrorMessage(java.lang.Throwable t,
java.lang.String msg,
java.awt.Frame parentWindow)
Constructs and displays an unexpected error message alert. |
Method Summary | |
---|---|
static void |
setExtraVerbiage(java.lang.String str)
Sets the extra verbiage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnexpectedErrorMessage(java.lang.Throwable t, java.lang.String msg, java.awt.Frame parentWindow)
t
- The throwable.msg
- The error message, or null if none.parentWindow
- The parent window, or null if none. The dialog
is positioned centered over its parent window
horizontally and positioned with its top
25 pixels below the top of its parent. public UnexpectedErrorMessage(java.lang.Throwable t, java.lang.String msg)
t
- The throwable.msg
- The error message. public UnexpectedErrorMessage(java.lang.Throwable t)
t
- The throwable. Method Detail |
---|
public static void setExtraVerbiage(java.lang.String str)
str
- Extra verbiage.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |