|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.ErrorDialog
public class ErrorDialog
utility class to create dialogs for displaying exceptions. Cannot be instantiated
Method Summary | |
---|---|
static void |
errorDialog(java.lang.String resource,
java.lang.Throwable ex)
vshows an error dialog box. |
static void |
errorDialogSpecific(java.lang.String resource,
java.lang.Object[] o,
java.lang.Throwable ex)
shows an error dialog box, with a customizable message |
static void |
msgbox(java.lang.String message)
shows a message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void msgbox(java.lang.String message)
message
- the string to displaypublic static void errorDialog(java.lang.String resource, java.lang.Throwable ex)
resource
- the key of the string to display, which has the format title;error string
where title
is to be the title of the dialog box and string
is
the string to displayex
- the exception to display in the details fieldpublic static void errorDialogSpecific(java.lang.String resource, java.lang.Object[] o, java.lang.Throwable ex)
resource
- the key of the string to display, which has the format title;error string
where title
is to be the title of the dialog box and string
is
the string to displayo
- the array of objects to insert using MessageFormatex
- the exception to display in the details field
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |