Packagemx.rpc.soap
Classpublic class SOAPFault
InheritanceSOAPFault Inheritance Fault Inheritance Error Inheritance Object

A subclass of mx.rpc.Fault that provides SOAP specific information from a SOAP envelope Fault element.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedcontent : Object
The raw content of the fault (if available), such as an HTTP response body.
Fault
  detail : String
The detail property is the same as faultDetail but exists to match the case of the detail element in a SOAP Fault.
SOAPFault
  element : XML
The raw XML of this SOAP Fault.
SOAPFault
 InheritederrorID : int
[read-only] Contains the reference number associated with the specific error message.
Error
  faultactor : String
A SOAP Fault may provide information about who caused the fault through a faultactor property.
SOAPFault
  faultcode : QName
The faultcode property is similar to faultCode but exists to both match the case of the faultcode element in a SOAP Fault and to provide the fully qualified name of the code.
SOAPFault
 InheritedfaultCode : String
[read-only] A simple code describing the fault.
Fault
 InheritedfaultDetail : String
[read-only] Any extra details of the fault.
Fault
  faultstring : String
The faultstring property is the same as faultString but exists to match the case of the faultstring element in a SOAP envelope Fault.
SOAPFault
 InheritedfaultString : String
[read-only] Text description of the fault.
Fault
 Inheritedmessage : String
Contains the message associated with the Error object.
Error
 Inheritedname : String
Contains the name of the Error object.
Error
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 InheritedrootCause : Object
The cause of the fault.
Fault
Public Methods
 MethodDefined By
  
SOAPFault(faultCode:QName, faultString:String, detail:String = null, element:XML = null, faultactor:String = null)
Constructs a new SOAPFault.
SOAPFault
 Inherited
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
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
  
[override] Returns the String "SOAPFault" plus the faultCode, faultString, and faultDetail.
SOAPFault
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
detailproperty
detail:String

The detail property is the same as faultDetail but exists to match the case of the detail element in a SOAP Fault.



Implementation
    public function get detail():String
    public function set detail(value:String):void

See also

elementproperty 
public var element:XML

The raw XML of this SOAP Fault.

faultactorproperty 
public var faultactor:String

A SOAP Fault may provide information about who caused the fault through a faultactor property.

faultcodeproperty 
public var faultcode:QName

The faultcode property is similar to faultCode but exists to both match the case of the faultcode element in a SOAP Fault and to provide the fully qualified name of the code.

See also

faultstringproperty 
faultstring:String

The faultstring property is the same as faultString but exists to match the case of the faultstring element in a SOAP envelope Fault.



Implementation
    public function get faultstring():String
    public function set faultstring(value:String):void

See also

Constructor Detail
SOAPFault()Constructor
public function SOAPFault(faultCode:QName, faultString:String, detail:String = null, element:XML = null, faultactor:String = null)

Constructs a new SOAPFault.

Parameters
faultCode:QName — The fully qualified name of the fault code.
 
faultString:String — The description of the fault.
 
detail:String (default = null) — Any extra details of the fault.
 
element:XML (default = null) — The raw XML of the SOAP fault.
 
faultactor:String (default = null) — Information about who caused the SOAP fault.
Method Detail
toString()method
override public function toString():String

Returns the String "SOAPFault" plus the faultCode, faultString, and faultDetail.

Returns
String — Returns the String "SOAPFault" plus the faultCode, faultString, and faultDetail.