| Oracle Repository API and Model Reference Guide |
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.repos.tools.cws.alert.CWException
The class used to hold Error/Warning message definition which can be displayed by the error/warning dialog. A stack of error/warning messages can be held.
See Also:
| Fields inherited from interface oracle.repos.tools.cws.defs.Defs |
ABORT_ACTION, ALERT_ARI, ALERT_ERROR, ALERT_INFO, ALERT_O, ALERT_OC, ALERT_RC,
ALERT_WARNING, ALERT_YN, ALERT_YNC, APPLY_ACTION, BAC, BAH, BAS, BAW, BUTTON_ABORT,
BUTTON_ACTION, BUTTON_ACTION_CLOSE, BUTTON_ACTION_HELP, BUTTON_ACTION_SAVE,
BUTTON_ACTION_WHAT, BUTTON_APPLY, BUTTON_CANCEL, BUTTON_CLOSE, BUTTON_FINISH, BUTTON_HELP,
BUTTON_IGNORE, BUTTON_NO, BUTTON_OK, BUTTON_RETRY, BUTTON_USER, BUTTON_WHATSTHIS,
BUTTON_YES, CANCEL_ACTION, CLOSE_ACTION, FINISH_ACTION, HELP_ACTION, IGNORE_ACTION,
NO_ACTION, OK_ACTION, RETRY_ACTION, WHAT_ACTION, YES_ACTION |
| Method Summary | |
(package private)
static void |
|
void |
addAlert(CWAlertData data)
Adds a message to the message stack |
Enumeration |
getAlerts() Returns an enumerator of all stacked messages. |
String |
getMessage() |
int |
showAlert(Frame parent)
Deprecated. From 19-Jan-99. Clients should provide an Application name for the dialog title. |
int |
showAlert(Frame parent,
String title) Displays the error stack dialog. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace,
printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void addAlert(CWAlertData data)
throws IllegalArgumentException
Data - object controlling the alertpublic int showAlert(Frame parent)
parent - frameshowAlert(Frame parent, String title)
public int showAlert(Frame parent,
String title)
parent - framedialog - titlepublic Enumeration getAlerts()
none - public String getMessage()
static void()
| BM0463 - JR0670 - JDev446 | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |