|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.ui.Alert
public class Alert
Provides a utility class to show alert dialogs to the user.
Constructor Summary | |
---|---|
Alert()
|
Method Summary | |
---|---|
static void |
showException(Exception e)
Show the given exception to the user. |
static void |
showException(Exception e,
String suffixMessage)
Show the given exception to the user. |
static void |
showException(Frame frame,
Exception e)
Show the given exception to the user. |
static void |
showException(Frame frame,
Exception e,
String suffixMessage)
Show the given exception to the user. |
static void |
showException(Frame frame,
String prefixMessage,
Exception e)
Show the given exception to the user. |
static void |
showException(Frame frame,
String prefixMessage,
Exception e,
String suffixMessage)
Show the given exception to the user. |
static void |
showException(Frame frame,
String prefixMessage,
Exception e,
String suffixMessage,
boolean showStackTrace)
Show the given exception to the user. |
static void |
showException(String prefixMessage,
Exception e)
Show the given exception to the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Alert()
Method Detail |
---|
public static void showException(Exception e)
e
- The exception.public static void showException(String prefixMessage, Exception e)
prefixMessage
- Message to put before the exception.e
- The exception.public static void showException(Exception e, String suffixMessage)
e
- The exception.suffixMessage
- Message to put after the exception.public static void showException(Frame frame, Exception e)
frame
- The parent frame (can be null).e
- The exception.public static void showException(Frame frame, String prefixMessage, Exception e)
frame
- The parent frame (can be null).prefixMessage
- Message to put before the exception.e
- The exception.public static void showException(Frame frame, Exception e, String suffixMessage)
frame
- The parent frame (can be null).e
- The exception.suffixMessage
- Message to put after the exception.public static void showException(Frame frame, String prefixMessage, Exception e, String suffixMessage)
frame
- The parent frame (can be null).prefixMessage
- Message to put before the exception.e
- The exception.suffixMessage
- Message to put after the exception.public static void showException(Frame frame, String prefixMessage, Exception e, String suffixMessage, boolean showStackTrace)
frame
- The parent frame (can be null).prefixMessage
- Message to put before the exception.e
- The exception.suffixMessage
- Message to put after the exception.showStackTrace
- Flag indicating whether to show the exception's
stack trace.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |