套件 | 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, 03:47 PM Z