Pakiet | com.adobe.icc.editors.managers |
Klasa | public class ErrorManager |
Dziedziczenie | ErrorManager Object |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
ErrorManager
helps you handle errors occurring on the client.
It is a central place for handling all the validation/service errors and displaying the correct error message in the current user locale.
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | ||
errorManagerImpl : IErrorManager [statyczny] [tylko do zapisu]
Method to override the error manager implementation
| ErrorManager |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
[statyczny]
Helper method for handling Document Composer faults. | ErrorManager | ||
[statyczny]
Helper method for handling server faults. | ErrorManager | ||
[statyczny]
Helper method for handling client domain validation errors. | ErrorManager | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | ||
showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void [statyczny]
Helper method for handling Document Composer user messages. | ErrorManager | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
Zwraca ciąg reprezentujący określony obiekt. | Object | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object |
Stała | Zdefiniowane przez | ||
---|---|---|---|
Error_Icon : * = Error [statyczny]
The constant specifying the Error Icon. | ErrorManager | ||
Info_Icon : * = Info [statyczny]
The constant specifying the Info Icon. | ErrorManager | ||
Ok_Icon : * = Ok [statyczny]
The constant specifying the OK Icon. | ErrorManager | ||
Warning_Icon : * = Warning [statyczny]
The constant specifying the Warning Icon. | ErrorManager |
errorManagerImpl | właściwość |
errorManagerImpl:IErrorManager
[tylko do zapisu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
Method to override the error manager implementation
Implementacja
public static function set errorManagerImpl(value:IErrorManager):void
handleError | () | metoda |
public static function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | 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.
Parametry
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
|
handleFault | () | metoda |
public static function handleFault(fault:Fault, asset:*):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling server 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.
Parametry
fault:Fault — The fault object encapsulating server fault.
| |
asset:* — The related asset for which the fault occured.
|
handleValidationFault | () | metoda |
public static function handleValidationFault(evt:AssetValidationEvent):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
Helper method for handling client domain validation errors.
This method identifies the validation failure cause and displays suitable error message to the user in form of an Alert box.
Parametry
evt:AssetValidationEvent — The AssetValidationEvent event
raised by the domain object during validation.
|
showMessage | () | metoda |
public static function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | 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.
Parametry
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 string value specifying the type of message in order to show the
respective icon. The types can be Warning,Info, Error or OK icon.
| |
flags:uint (default = 0x0004 ) — The uint value speciying the buttons to be shown on the Alert box.
|
Error_Icon | Stała |
public static const Error_Icon:* = Error
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Error Icon.
Info_Icon | Stała |
public static const Info_Icon:* = Info
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Info Icon.
Ok_Icon | Stała |
public static const Ok_Icon:* = Ok
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the OK Icon.
Warning_Icon | Stała |
public static const Warning_Icon:* = Warning
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Asset Composer Building Block 10 |
Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Warning Icon.
Tue Jun 12 2018, 12:06 PM Z