(Beta)
Package | com.adobe.icc.editors.managers |
Class | public class ErrorManager |
Inheritance | ErrorManager Object |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
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.
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
[static]
Helper method for handling server faults. | ErrorManager | ||
[static]
Helper method for handling client domain validation errors. | ErrorManager | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Method Detail
handleFault | () | method |
public static function handleFault(fault:Fault, asset:*):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
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.
Parameters
fault:Fault — The fault object encapsulating server fault.
| |
asset:* — The related asset for which the fault occured.
|
handleValidationFault | () | method |
public static function handleValidationFault(evt:AssetValidationEvent):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
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.
Parameters
evt:AssetValidationEvent — The AssetValidationEvent event
raised by the domain object during validation.
|
Wed Nov 21 2018, 06:34 AM -08:00