|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.exc.ErrorWindow
class ErrorWindow
The dialog used to show exceptions.
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
centerAndShow()
Centers and shows the error dialog. |
int |
getReturnValue()
Returns the Value of the Button that was pressed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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_NO| Method Detail |
|---|
public void centerAndShow()
public int getReturnValue()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||