패키지 | com.adobe.gravity.utility.error |
클래스 | public class AugmentedError |
상속 | AugmentedError Error Object |
하위 클래스 | AggregatingTokenError |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
속성 | 정의 주체 | ||
---|---|---|---|
causes : Array [읽기 전용] An array of causes. | AugmentedError | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
errorID : int [읽기 전용]
특정 오류 메시지와 연관된 참조 번호가 포함되어 있습니다. | Error | ||
identifier : String [읽기 전용] The error identifier. | AugmentedError | ||
message : String
Error 객체에 연결된 메시지가 들어 있습니다. | Error | ||
name : String
Error 객체의 이름이 들어 있습니다. | Error | ||
parameterNamespace : String [읽기 전용] The parameter namespace. | AugmentedError | ||
parameters : Object [읽기 전용] The error parameters. | AugmentedError |
메서드 | 정의 주체 | ||
---|---|---|---|
AugmentedError(identifier:String = null, message:String = null, parameters:Object = null, parameterNamespace:String = null, cause:Object = null)
Constructor. | AugmentedError | ||
오류의 구조가 문자열인 경우 오류에 대해 호출 스택을 반환합니다. | Error | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
[재정의]
기본적으로 "Error"라는 문자열을 반환하며, Error.message 속성이 정의되어 있는 경우에는 여기에 포함된 값을 반환합니다. | Error | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
causes | 속성 |
causes:Array
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
An array of causes. Note that it is always a non-null Array, even if null or a non-Array object is passed into the constructor. Also note that while the contents of the Array will usually be Error objects, this is not enforced and so code that iterates through the causes should be prepared to deal with non-Error objects.
구현
public function get causes():Array
identifier | 속성 |
identifier:String
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
The error identifier. By default the name property will have the same value, although the name property can be set to a different value after construction.
구현
public function get identifier():String
parameterNamespace | 속성 |
parameters | 속성 |
parameters:Object
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
The error parameters. Note that this object will never be null, even if null was passed into the constructor.
구현
public function get parameters():Object
AugmentedError | () | 생성자 |
public function AugmentedError(identifier:String = null, message:String = null, parameters:Object = null, parameterNamespace:String = null, cause:Object = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Constructor.
The message of the parent Error class is created by passing the message and parameters objects directly to the FormatMessage.formatString(...) call.
The parameterNamespace parameter can be used by aggregation systems (such as a logging framework) to distinguish parameters that have the same name but different semantics. For example, "taskId" might be a parameter for both a deferred execution mechanism and a To Do list subsystem. For an aggregation system to distinguish between the two, the deferred execution mechanism might be given a namespace of "edu.someuniversity.DeferredExecution" while the To Do list subsystem might have a namespace of "com.somecompany.subsystem.todo". 매개 변수identifier:String (default = null ) — The identifier for the error. The intention is that this identifier can be used to uniquely identify the error despite localization
or changes in message wording. The name property is also initialized to this value. Can be null,
in which case the name property will be initialized to "AugmentedError".
| |
message:String (default = null ) — The text of the message. This parameter will be passed to FormatMessage.formatString(...) with the specified parameters for parameter substitution.
| |
parameters:Object (default = null ) — An object with a property for each parameter that is to be substituted into the error message. May be null (which means
there are no parameters to be substituted).
| |
parameterNamespace:String (default = null ) — Similar to an XML namespace, prevents error parameters that have the same name but different semantics
from being confused. Generally code from a single team or company would have a single namespace. May be null (which should be considered the "global" namespace).
| |
cause:Object (default = null ) — The cause of this error. This is generally either a single Error object from a catch statement that is being wrapped into a higher-level
error, or an Array of Error objects from catch statements (in the case of an aggregate operation where multiple independent errors may occur, such as synchronization).
However, objects that are thrown are not necessarily Error objects, so the cause parameter may be something
other than an Error or an Array of Error objects. May be null. If it is an Array, the items will be copied so that changes to the original Array will
not affect this Error object (although changes to members of the Array may affect members of the causes Array).
|
관련 API 요소
Tue Jun 12 2018, 03:17 PM Z