public class ErrorDisplayDialog extends Object
| Constructor and Description |
|---|
ErrorDisplayDialog() |
| Modifier and Type | Method and Description |
|---|---|
static void |
showErrors(Throwable t,
ResourceBundle rb)
Displays a dialog box reporting an error, listing the stack trace in
a text box and allowing the user to copy the stack trace to the platform's
clipboard before dismissing the dialog box.
|
static void |
showUserError(UserError ue,
ResourceBundle rb)
Displays a kinder, gentler display for user errors - ones that normally
a user could correct.
|
public static void showUserError(UserError ue, ResourceBundle rb)
ue - UserError to be displayedrb - ResourceBundle from which to retrieve i18n stringspublic static void showErrors(Throwable t, ResourceBundle rb)
t - the Throwable error detected and being reportedrb - a ResourceBundle containing localizable stringsCopyright © 2019. All rights reserved.