Package | com.adobe.icc.editors.managers |
Classe | public class ErrorManager |
Héritage | ErrorManager Object |
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | 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.
Propriété | Défini par | ||
---|---|---|---|
constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | Object | ||
errorManagerImpl : IErrorManager [statique] [écriture seule]
Method to override the error manager implementation
| ErrorManager |
Méthode | Défini par | ||
---|---|---|---|
[statique]
Helper method for handling Document Composer faults. | ErrorManager | ||
[statique]
Helper method for handling server faults. | ErrorManager | ||
[statique]
Helper method for handling client domain validation errors. | ErrorManager | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | ||
showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void [statique]
Helper method for handling Document Composer user messages. | ErrorManager | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | ||
Renvoie la valeur primitive de l’objet spécifié. | Object |
Constante | Défini par | ||
---|---|---|---|
Error_Icon : * = Error [statique]
The constant specifying the Error Icon. | ErrorManager | ||
Info_Icon : * = Info [statique]
The constant specifying the Info Icon. | ErrorManager | ||
Ok_Icon : * = Ok [statique]
The constant specifying the OK Icon. | ErrorManager | ||
Warning_Icon : * = Warning [statique]
The constant specifying the Warning Icon. | ErrorManager |
errorManagerImpl | propriété |
errorManagerImpl:IErrorManager
[écriture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Method to override the error manager implementation
Implémentation
public static function set errorManagerImpl(value:IErrorManager):void
handleError | () | méthode |
public static function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | 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.
Paramètres
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 | () | méthode |
public static function handleFault(fault:Fault, asset:*):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | 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.
Paramètres
fault:Fault — The fault object encapsulating server fault.
| |
asset:* — The related asset for which the fault occured.
|
handleValidationFault | () | méthode |
public static function handleValidationFault(evt:AssetValidationEvent):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | 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.
Paramètres
evt:AssetValidationEvent — The AssetValidationEvent event
raised by the domain object during validation.
|
showMessage | () | méthode |
public static function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | 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.
Paramètres
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 | Constante |
public static const Error_Icon:* = Error
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Error Icon.
Info_Icon | Constante |
public static const Info_Icon:* = Info
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Info Icon.
Ok_Icon | Constante |
public static const Ok_Icon:* = Ok
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the OK Icon.
Warning_Icon | Constante |
public static const Warning_Icon:* = Warning
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Warning Icon.
Tue Jun 12 2018, 09:30 AM Z