Package | com.adobe.icc.editors.managers |
Class | public class ErrorManagerImpl |
Inheritance | ErrorManagerImpl Object |
Implements | IErrorManager |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
IErrorManager
which 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.
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
styleManager : IStyleManager2
The style manager instance for ErrorManagerImpl. | ErrorManagerImpl |
Method | Defined By | ||
---|---|---|---|
Constructor. | ErrorManagerImpl | ||
Helper method for handling Document Composer faults. | ErrorManagerImpl | ||
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 | ||
showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Helper method for handling Document Composer user messages. | ErrorManagerImpl | ||
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 |
Constant | Defined By | ||
---|---|---|---|
CONNECTION_EXCEPTION_MESSAGE : String = "ConnectionException" [static]
The constant specifying the connection exception message. | ErrorManagerImpl | ||
DELETE_DATADICTIONARY_EXCEPTION_MESSAGE : String = "ALC-DCT-002-008" [static]
The constant specifying the data dictionary delete exception message. | ErrorManagerImpl | ||
INVALID_CREDENTIALS_EXCEPTION_MESSAGE : String = "InvalidCredentialsException" [static]
The constant specifying the invalid credentials exception message. | ErrorManagerImpl | ||
INVALID_PARAMETER_EXCEPTION_MESSAGE : String = "InvalidParameterException" [static]
The constant specifying the invalid parameter exception message. | ErrorManagerImpl | ||
LOGIN_EXCEPTION_MESSAGE : String = "LoginException" [static]
The constant specifying the login exception message. | ErrorManagerImpl | ||
PROCESSING_EXCEPTION_MESSAGE : String = "ProcessingException" [static]
The constant specifying the processing exception message. | ErrorManagerImpl |
styleManager | property |
public var styleManager:IStyleManager2
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The style manager instance for ErrorManagerImpl.
ErrorManagerImpl | () | Constructor |
public function ErrorManagerImpl()
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constructor.
handleError | () | method |
public function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | 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.
Parameters
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 | () | method |
public function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | 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.
Parameters
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.
|
CONNECTION_EXCEPTION_MESSAGE | Constant |
public static const CONNECTION_EXCEPTION_MESSAGE:String = "ConnectionException"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the connection exception message.
DELETE_DATADICTIONARY_EXCEPTION_MESSAGE | Constant |
public static const DELETE_DATADICTIONARY_EXCEPTION_MESSAGE:String = "ALC-DCT-002-008"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the data dictionary delete exception message.
INVALID_CREDENTIALS_EXCEPTION_MESSAGE | Constant |
public static const INVALID_CREDENTIALS_EXCEPTION_MESSAGE:String = "InvalidCredentialsException"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the invalid credentials exception message.
INVALID_PARAMETER_EXCEPTION_MESSAGE | Constant |
public static const INVALID_PARAMETER_EXCEPTION_MESSAGE:String = "InvalidParameterException"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the invalid parameter exception message.
LOGIN_EXCEPTION_MESSAGE | Constant |
public static const LOGIN_EXCEPTION_MESSAGE:String = "LoginException"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the login exception message.
PROCESSING_EXCEPTION_MESSAGE | Constant |
public static const PROCESSING_EXCEPTION_MESSAGE:String = "ProcessingException"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the processing exception message.
Mon Nov 28 2011, 06:48 AM -08:00