org.rapla.gui.toolkit
Class ErrorDialog
java.lang.Object
org.rapla.gui.toolkit.ErrorDialog
public final class ErrorDialog
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WARNING_MESSAGE
public static final int WARNING_MESSAGE
- See Also:
- Constant Field Values
ERROR_MESSAGE
public static final int ERROR_MESSAGE
- See Also:
- Constant Field Values
EXCEPTION_MESSAGE
public static final int EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
THROW_ERROR_DIALOG_EXCEPTION
public static boolean THROW_ERROR_DIALOG_EXCEPTION
- This is for the test-cases only. If this flag is set
the ErrorDialog throws an ErrorDialogException instead of
displaying the dialog. This is useful for testing.
ErrorDialog
public ErrorDialog(RaplaContext sm)
throws RaplaException
- Parameters:
sm
-
- Throws:
RaplaException
getI18n
protected I18nBundle getI18n()
getLogger
protected Logger getLogger()
show
public void show(String message)
showWarningDialog
public void showWarningDialog(String message,
Component owner)
getMessage
public static String getMessage(Throwable e)
showExceptionDialog
public void showExceptionDialog(Throwable e,
Component owner)
showWarningDialog
public void showWarningDialog(String title,
String message,
Component owner)
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.