包 | com.adobe.icc.editors.managers |
类 | public class ErrorManagerImpl |
继承 | ErrorManagerImpl Object |
实现 | IErrorManager |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | 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.
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
styleManager : IStyleManager2
The style manager instance for ErrorManagerImpl. | ErrorManagerImpl |
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | ErrorManagerImpl | ||
Helper method for handling Document Composer faults. | ErrorManagerImpl | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | 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 | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object |
常量 | 由以下参数定义 | ||
---|---|---|---|
CONNECTION_EXCEPTION_MESSAGE : String = "ConnectionException" [静态]
The constant specifying the connection exception message. | ErrorManagerImpl | ||
DELETE_DATADICTIONARY_EXCEPTION_MESSAGE : String = "ALC-DCT-002-008" [静态]
The constant specifying the data dictionary delete exception message. | ErrorManagerImpl | ||
INVALID_CREDENTIALS_EXCEPTION_MESSAGE : String = "InvalidCredentialsException" [静态]
The constant specifying the invalid credentials exception message. | ErrorManagerImpl | ||
INVALID_PARAMETER_EXCEPTION_MESSAGE : String = "InvalidParameterException" [静态]
The constant specifying the invalid parameter exception message. | ErrorManagerImpl | ||
LOGIN_EXCEPTION_MESSAGE : String = "LoginException" [静态]
The constant specifying the login exception message. | ErrorManagerImpl | ||
PROCESSING_EXCEPTION_MESSAGE : String = "ProcessingException" [静态]
The constant specifying the processing exception message. | ErrorManagerImpl |
styleManager | 属性 |
public var styleManager:IStyleManager2
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The style manager instance for ErrorManagerImpl.
ErrorManagerImpl | () | 构造函数 |
public function ErrorManagerImpl()
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Constructor.
handleError | () | 方法 |
public function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | 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.
参数
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 | () | 方法 |
public function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | 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.
参数
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 | 常量 |
public static const CONNECTION_EXCEPTION_MESSAGE:String = "ConnectionException"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the connection exception message.
DELETE_DATADICTIONARY_EXCEPTION_MESSAGE | 常量 |
public static const DELETE_DATADICTIONARY_EXCEPTION_MESSAGE:String = "ALC-DCT-002-008"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the data dictionary delete exception message.
INVALID_CREDENTIALS_EXCEPTION_MESSAGE | 常量 |
public static const INVALID_CREDENTIALS_EXCEPTION_MESSAGE:String = "InvalidCredentialsException"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the invalid credentials exception message.
INVALID_PARAMETER_EXCEPTION_MESSAGE | 常量 |
public static const INVALID_PARAMETER_EXCEPTION_MESSAGE:String = "InvalidParameterException"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the invalid parameter exception message.
LOGIN_EXCEPTION_MESSAGE | 常量 |
public static const LOGIN_EXCEPTION_MESSAGE:String = "LoginException"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the login exception message.
PROCESSING_EXCEPTION_MESSAGE | 常量 |
public static const PROCESSING_EXCEPTION_MESSAGE:String = "ProcessingException"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the processing exception message.
Tue Jun 12 2018, 11:04 AM Z