패키지 | 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, 03:17 PM Z