Pacchetto | com.adobe.icc.editors.managers |
Classe | public class ErrorManager |
Ereditarietà | ErrorManager Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Proprietà | Definito da | ||
---|---|---|---|
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
errorManagerImpl : IErrorManager [statico] [sola scrittura]
Method to override the error manager implementation
| ErrorManager |
Metodo | Definito da | ||
---|---|---|---|
[statico]
Helper method for handling Document Composer faults. | ErrorManager | ||
[statico]
Helper method for handling server faults. | ErrorManager | ||
[statico]
Helper method for handling client domain validation errors. | ErrorManager | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void [statico]
Helper method for handling Document Composer user messages. | ErrorManager | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Costante | Definito da | ||
---|---|---|---|
Error_Icon : * = Error [statico]
The constant specifying the Error Icon. | ErrorManager | ||
Info_Icon : * = Info [statico]
The constant specifying the Info Icon. | ErrorManager | ||
Ok_Icon : * = Ok [statico]
The constant specifying the OK Icon. | ErrorManager | ||
Warning_Icon : * = Warning [statico]
The constant specifying the Warning Icon. | ErrorManager |
errorManagerImpl | proprietà |
errorManagerImpl:IErrorManager
[sola scrittura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Method to override the error manager implementation
Implementazione
public static function set errorManagerImpl(value:IErrorManager):void
handleError | () | metodo |
public static function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Parametri
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 | () | metodo |
public static function handleFault(fault:Fault, asset:*):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Parametri
fault:Fault — The fault object encapsulating server fault.
| |
asset:* — The related asset for which the fault occured.
|
handleValidationFault | () | metodo |
public static function handleValidationFault(evt:AssetValidationEvent):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Parametri
evt:AssetValidationEvent — The AssetValidationEvent event
raised by the domain object during validation.
|
showMessage | () | metodo |
public static function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Parametri
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 | Costante |
public static const Error_Icon:* = Error
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Error Icon.
Info_Icon | Costante |
public static const Info_Icon:* = Info
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Info Icon.
Ok_Icon | Costante |
public static const Ok_Icon:* = Ok
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the OK Icon.
Warning_Icon | Costante |
public static const Warning_Icon:* = Warning
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Warning Icon.
Tue Jun 12 2018, 02:44 PM Z