class ErrorWindow
extends java.lang.Object
This implementation shows the stack trace and the nested exceptions as well. This class was moved from ErrorHandler into a separate Class in Version 2.1. Please use ErrorHandler, do not call this directly
Constructor and Description |
---|
ErrorWindow(java.awt.Component parent,
java.lang.String errorMsg,
java.lang.Throwable thr)
Creates a new instance of ErrorDialog.
|
ErrorWindow(java.awt.Component parent,
java.lang.String errorMsg,
java.lang.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(java.awt.Component parent, java.lang.String errorMsg, java.lang.Throwable thr)
parent
- A component in the component tree the dialog should be
created for.errorMsg
- The localized error message.thr
- The throwable whose details are shown by the dialog.public ErrorWindow(java.awt.Component parent, java.lang.String errorMsg, java.lang.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 whose details are shown by the dialog.messageType
- The type of Window to Display: ErrorHandler.SHOW_OK, ErrorHandler.SHOW_YES_NOTV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)