套件 | mx.messaging.messages |
類別 | public class ErrorMessage |
繼承 | ErrorMessage AcknowledgeMessage AsyncMessage AbstractMessage Object |
子類別 | DataErrorMessage |
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
body : Object
The body of a message contains the specific data that needs to be
delivered to the remote destination. | AbstractMessage | ||
clientId : String
The clientId indicates which MessageAgent sent the message. | AbstractMessage | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
correlationId : String
Provides access to the correlation id of the message. | AsyncMessage | ||
destination : String
The message destination. | AbstractMessage | ||
extendedData : Object
Extended data that the remote destination has chosen to associate
with this error to facilitate custom error processing on the client. | ErrorMessage | ||
faultCode : String
The fault code for the error. | ErrorMessage | ||
faultDetail : String
Detailed description of what caused the error. | ErrorMessage | ||
faultString : String
A simple description of the error. | ErrorMessage | ||
headers : Object
The headers of a message are an associative array where the key is the
header name and the value is the header value. | AbstractMessage | ||
messageId : String
The unique id for the message. | AbstractMessage | ||
rootCause : Object
Should a root cause exist for the error, this property contains those details. | ErrorMessage | ||
timestamp : Number
Provides access to the time stamp for the message. | AbstractMessage | ||
timeToLive : Number
The time to live value of a message indicates how long the message
should be considered valid and deliverable. | AbstractMessage |
方法 | 定義自 | ||
---|---|---|---|
Constructs an ErrorMessage instance. | ErrorMessage | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
Returns a string representation of the message. | AbstractMessage | ||
會傳回指定之物件的基本值。 | Object |
常數 | 定義自 | ||
---|---|---|---|
MESSAGE_DELIVERY_IN_DOUBT : String = "Client.Error.DeliveryInDoubt" [靜態]
If a message may not have been delivered, the faultCode will
contain this constant. | ErrorMessage | ||
RETRYABLE_HINT_HEADER : String = "DSRetryableErrorHint" [靜態]
Header name for the retryable hint header. | ErrorMessage |
extendedData | 屬性 |
public var extendedData:Object
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Extended data that the remote destination has chosen to associate with this error to facilitate custom error processing on the client.
faultCode | 屬性 |
public var faultCode:String
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The fault code for the error. This value typically follows the convention of "[outer_context].[inner_context].[issue]". For example: "Channel.Connect.Failed", "Server.Call.Failed", etc.
faultDetail | 屬性 |
public var faultDetail:String
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Detailed description of what caused the error. This is typically a stack trace from the remote destination.
faultString | 屬性 |
public var faultString:String
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A simple description of the error.
rootCause | 屬性 |
public var rootCause:Object
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Should a root cause exist for the error, this property contains those details. This may be an ErrorMessage, a NetStatusEvent info Object, or an underlying Flash error event: ErrorEvent, IOErrorEvent, or SecurityErrorEvent.
ErrorMessage | () | 建構函式 |
public function ErrorMessage()
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructs an ErrorMessage instance.
MESSAGE_DELIVERY_IN_DOUBT | 常數 |
public static const MESSAGE_DELIVERY_IN_DOUBT:String = "Client.Error.DeliveryInDoubt"
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
If a message may not have been delivered, the faultCode
will
contain this constant.
RETRYABLE_HINT_HEADER | 常數 |
public static const RETRYABLE_HINT_HEADER:String = "DSRetryableErrorHint"
語言版本: | ActionScript 3.0 |
產品版本: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Header name for the retryable hint header. This is used to indicate that the operation that generated the error may be retryable rather than fatal.
Tue Jun 12 2018, 03:47 PM Z