パッケージ | com.adobe.icc.editors.managers |
クラス | public class ErrorManager |
継承 | ErrorManager Object |
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | 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.
プロパティ | 定義元 | ||
---|---|---|---|
constructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。 | Object | ||
errorManagerImpl : IErrorManager [静的] [書き込み専用]
Method to override the error manager implementation
| ErrorManager |
メソッド | 定義元 | ||
---|---|---|---|
[静的]
Helper method for handling Document Composer faults. | ErrorManager | ||
[静的]
Helper method for handling server faults. | ErrorManager | ||
[静的]
Helper method for handling client domain validation errors. | ErrorManager | ||
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | 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. | ErrorManager | ||
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | Object | ||
指定されたオブジェクトのストリング表現を返します。 | Object | ||
指定されたオブジェクトのプリミティブな値を返します。 | Object |
定数 | 定義元 | ||
---|---|---|---|
Error_Icon : * = Error [静的]
The constant specifying the Error Icon. | ErrorManager | ||
Info_Icon : * = Info [静的]
The constant specifying the Info Icon. | ErrorManager | ||
Ok_Icon : * = Ok [静的]
The constant specifying the OK Icon. | ErrorManager | ||
Warning_Icon : * = Warning [静的]
The constant specifying the Warning Icon. | ErrorManager |
errorManagerImpl | プロパティ |
errorManagerImpl:IErrorManager
[書き込み専用] 言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | AIR (unsupported), Flash Player 10.2 |
Method to override the error manager implementation
実装
public static function set errorManagerImpl(value:IErrorManager):void
handleError | () | メソッド |
public static function handleError(fault:Fault, flags:uint = 0x0004, closeHandler:Function = null):void
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | 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
|
handleFault | () | メソッド |
public static function handleFault(fault:Fault, asset:*):void
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | 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.
パラメーター
fault:Fault — The fault object encapsulating server fault.
| |
asset:* — The related asset for which the fault occured.
|
handleValidationFault | () | メソッド |
public static function handleValidationFault(evt:AssetValidationEvent):void
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | 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.
パラメーター
evt:AssetValidationEvent — The AssetValidationEvent event
raised by the domain object during validation.
|
showMessage | () | メソッド |
public static function showMessage(msgTitle:String, msgText:String, closeHandler:Function = null, messageType:String = null, flags:uint = 0x0004):void
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | 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 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 | 定数 |
public static const Error_Icon:* = Error
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Error Icon.
Info_Icon | 定数 |
public static const Info_Icon:* = Info
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Info Icon.
Ok_Icon | 定数 |
public static const Ok_Icon:* = Ok
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the OK Icon.
Warning_Icon | 定数 |
public static const Warning_Icon:* = Warning
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 10 |
ランタイムバージョン: | AIR (unsupported), Flash Player 10.2 |
The constant specifying the Warning Icon.
Tue Jun 12 2018, 10:34 AM Z