Pakiet | com.adobe.gravity.utility.error |
Klasa | public class AugmentedError |
Dziedziczenie | AugmentedError Error Object |
Podklasy | AggregatingTokenError |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Wersje środowiska wykonawczego: | AIR 1.1, Flash Player 9 |
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
causes : Array [tylko do odczytu] An array of causes. | AugmentedError | ||
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | ||
errorID : int [tylko do odczytu]
Zawiera numer odwołania skojarzony z konkretnym komunikatem o błędzie. | Error | ||
identifier : String [tylko do odczytu] The error identifier. | AugmentedError | ||
message : String
Zawiera komunikat skojarzony z obiektem Error. | Error | ||
name : String
Zawiera nazwę obiektu Error. | Error | ||
parameterNamespace : String [tylko do odczytu] The parameter namespace. | AugmentedError | ||
parameters : Object [tylko do odczytu] The error parameters. | AugmentedError |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
AugmentedError(identifier:String = null, message:String = null, parameters:Object = null, parameterNamespace:String = null, cause:Object = null)
Constructor. | AugmentedError | ||
Zwraca ciąg reprezentujący stos wywołań związanych z błędem, który istniał w momencie uruchomienia konstruktora błędu. | Error | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
[przesłanianie]
Domyślnie zwraca ciąg znaków „Error” lub wartość określoną przez właściwość Error.message (jeśli określona). | Error | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object |
causes | właściwość |
causes:Array
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Wersje środowiska wykonawczego: | 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.
Implementacja
public function get causes():Array
identifier | właściwość |
identifier:String
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Wersje środowiska wykonawczego: | 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.
Implementacja
public function get identifier():String
parameterNamespace | właściwość |
parameterNamespace:String
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Wersje środowiska wykonawczego: | AIR 1.1, Flash Player 9 |
The parameter namespace.
Implementacja
public function get parameterNamespace():String
parameters | właściwość |
parameters:Object
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Wersje środowiska wykonawczego: | 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.
Implementacja
public function get parameters():Object
AugmentedError | () | Konstruktor |
public function AugmentedError(identifier:String = null, message:String = null, parameters:Object = null, parameterNamespace:String = null, cause:Object = null)
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Wersje środowiska wykonawczego: | 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". Parametryidentifier: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).
|
Powiązane elementy interfejsu API
Tue Jun 12 2018, 12:06 PM Z