Пакет | com.adobe.icc.editors.managers |
Интерфейс | public interface IErrorManager |
Средство реализации | ErrorManagerImpl |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
It is a central place for handling all the validation/service errors and displaying the correct error message in the current user locale.
Общедоступные методы
Метод | Определено | ||
---|---|---|---|
Helper method for handling Document Composer faults. | IErrorManager | ||
showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Helper method for handling Document Composer user messages. | IErrorManager |
Сведения о методе
handleError | () | метод |
public function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling Document Composer faults.
This method reads the fault code from the passed fault
object, pulls the relevant error message from the resource bundle, fills
it with details if required and shows it to the user in form of an
Alert box.
Параметры
fault:Fault — The fault object encapsulating server fault.
| |
flags:uint (default = 0x0004 ) — The buttons to be present on the Alert dialog.
| |
closeHandler:Function (default = null ) — The function to be called when the user clicks the button on the alert
|
showMessage | () | метод |
public function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling Document Composer user messages.
This method pulls the relevant user message from the resource bundle, fills it with details if required and shows it to the user in form of an Alert box.
Параметры
msgTitle:String — The Message Title to be displayed in the Alert Window.
| |
msgText:String — The Message text to be shown in the Alert dialog.
| |
closeHandler:Function (default = null ) — The function to be called when the user clicks the button on the alert
| |
messageType:String (default = null ) — The icon to be displayed in the alert dialog
| |
flags:uint (default = 0x0004 ) — The buttons to be present on the Alert dialog.
|
Tue Jun 12 2018, 11:34 AM Z