| 套件 | mx.rpc |
| 類別 | public class Fault |
| 繼承 | Fault Error Object |
| 子類別 | SOAPFault |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
公用屬性
| 屬性 | 定義自 | ||
|---|---|---|---|
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| content : Object
The raw content of the fault (if available), such as an HTTP response
body. | Fault | ||
![]() | errorID : int [唯讀]
包含與特定錯誤訊息相關聯的參照號碼。 | Error | |
| faultCode : String [唯讀]
A simple code describing the fault. | Fault | ||
| faultDetail : String [唯讀]
Any extra details of the fault. | Fault | ||
| faultString : String [唯讀]
Text description of the fault. | Fault | ||
![]() | message : String
包含與 Error 物件有關聯的訊息。 | Error | |
![]() | name : String
包含 Error 物件的名稱。 | Error | |
| rootCause : Object
The cause of the fault. | Fault | ||
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
Creates a new Fault object. | Fault | ||
![]() |
在錯誤建構時傳回字串形式的錯誤呼叫堆疊。 | Error | |
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
Returns the string representation of a Fault object. | Fault | ||
![]() |
會傳回指定之物件的基本值。 | Object | |
屬性詳細資訊
content | 屬性 |
public var content:Object| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
The raw content of the fault (if available), such as an HTTP response body.
faultCode | 屬性 |
faultDetail | 屬性 |
faultString | 屬性 |
rootCause | 屬性 |
public var rootCause:Object| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
The cause of the fault. The value will be null if the cause is unknown or whether this fault represents the root itself.
建構函式詳細資料
Fault | () | 建構函式 |
public function Fault(faultCode:String, faultString:String, faultDetail:String = null)| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Creates a new Fault object.
參數faultCode:String — A simple code describing the fault.
| |
faultString:String — Text description of the fault.
| |
faultDetail:String (default = null) — Additional details describing the fault.
|
方法詳細資訊
toString | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性