class ErrorWindow extends Object
This implementation shows the stacktrace and the nested exceptions as well. This class was moved from ErrorHandler into a seperate Class in Version 2.1. Please use ErrorHandler, do not call this directly
Constructor and Description |
---|
ErrorWindow(Component parent,
String errorMsg,
Throwable thr)
Creates a new instance of ErrorDialog.
|
ErrorWindow(Component parent,
String errorMsg,
Throwable thr,
int messageType)
Creates a new instance of ErrorDialog.
|
Modifier and Type | Method and Description |
---|---|
void |
centerAndShow()
Centers and shows the error dialog.
|
int |
getReturnValue()
Returns the Value of the Button that was pressed.
|
public ErrorWindow(Component parent, String errorMsg, Throwable thr)
parent
- A component in the component tree the dialog should be
created for.errorMsg
- The localized error message.thr
- The throwable whichs details are shown by the dialog.public ErrorWindow(Component parent, String errorMsg, Throwable thr, int messageType)
parent
- A component in the component tree the dialog should be
created for.errorMsg
- The localized error message.thr
- The throwable whichs details are shown by the dialog.messageType
- The type of Window to Display: ErrorHandler.SHOW_OK, ErrorHandler.SHOW_YES_NOTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)