| java.lang.Object com.sun.midp.appmanager.DisplayError
DisplayError | class DisplayError (Code) | | Displays error messages using the Display instance object passed
into the Constructor.
|
Constructor Summary | |
| DisplayError(Display display) Creates a DisplayError instance given a display object. |
display | Display display(Code) | | The display instance to be used to display error alerts
|
DisplayError | DisplayError(Display display)(Code) | | Creates a DisplayError instance given a display object.
Parameters: display - the Display instance where Alerts will the errorswill be shown |
showCorruptedSuiteAlert | void showCorruptedSuiteAlert(String msg)(Code) | | Display an alert screen when midlet suite is corrupted
Parameters: msg - Message to display on alert |
showErrorAlert | void showErrorAlert(String appName, Throwable t, String alertTitle, String alertMessage)(Code) | | Display the Alert with the error message.
Parameters: appName - - name of the application in which the error happen Parameters: t - - throwable that was thrown while performing oneof the operations on the application Parameters: alertTitle - - if non-null it will be the Alert title, otherwisea default value will be used(Resource.getString(ResourceConstants.AMS_CANNOT_START)) Parameters: alertMessage - - if non-null it will be the Alert message,otherwise a default message will be generated using(Resource.getString(ResourceConstants.ERROR)) |
showErrorAlert | void showErrorAlert(String appName, Throwable t, String alertTitle, String alertMessage, Displayable nextDisplayable)(Code) | | Display the Alert with the error message.
Parameters: appName - - name of the application in which the error happen Parameters: t - - throwable that was thrown while performing oneof the operations on the application Parameters: alertTitle - - if non-null it will be the Alert title, otherwise a default value will be used (Resource.getString(ResourceConstants.AMS_CANNOT_START)) Parameters: alertMessage - - if non-null it will be the Alert message, otherwise a default message will be generated using(Resource.getString(ResourceConstants.ERROR)) Parameters: nextDisplayable - the Displayable to be shown afterthe error alert is dismissed; can be null |
|
|