| Package | mx.rpc |
| Class | public class Fault |
| Inheritance | Fault Error Object |
| Subclasses | SOAPFault |
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | errorID : int
[read-only]
Contains the reference number associated with the specific error message.
| Error | |
| faultCode : String
[read-only]
A simple code describing the fault.
| Fault | ||
| faultDetail : String
[read-only]
Any extra details of the fault.
| Fault | ||
| faultString : String
[read-only]
Text description of the fault.
| Fault | ||
![]() | message : String
Contains the message associated with the Error object.
| Error | |
![]() | name : String
Contains the name of the Error object.
| Error | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| rootCause : Object
The cause of the fault.
| Fault | ||
| Property | Defined By | ||
|---|---|---|---|
| _faultCode : String | Fault | ||
| _faultDetail : String | Fault | ||
| _faultString : String | Fault | ||
| Method | Defined By | ||
|---|---|---|---|
|
Creates a new Fault object.
| Fault | ||
![]() |
Returns the call stack for an error as a string at the time of the error's construction (for the debugger version
of Flash Player and the AIR Debug Launcher (ADL) only; returns null if not using the debugger version
of Flash Player or the ADL.
| Error | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
| Fault | |||
![]() |
Returns the primitive value of the specified object.
| Object | |
| _faultCode | property |
protected var _faultCode:String
| _faultDetail | property |
protected var _faultDetail:String
| _faultString | property |
protected var _faultString:String
| faultCode | property |
faultCode:String [read-only] A simple code describing the fault.
public function get faultCode():String
| faultDetail | property |
faultDetail:String [read-only] Any extra details of the fault.
public function get faultDetail():String
| faultString | property |
faultString:String [read-only] Text description of the fault.
public function get faultString():String
| rootCause | property |
public var rootCause:Object
The cause of the fault. The value will be null if the cause is unknown or whether this fault represents the root itself.
| Fault | () | Constructor |
public function Fault(faultCode:String, faultString:String, faultDetail:String = null)
Creates a new Fault object.
ParametersfaultCode:String |
|
faultString:String |
|
faultDetail:String (default = null) |
| toString | () | method |