Packagecom.arc90.rpc.events
Classpublic class FaultEvent
InheritanceFaultEvent Inheritance flash.events.Event

The event that indicates an RPC operation has failed.



Public Properties
 PropertyDefined by
  fault : Fault
[read-only] The underlying Fault object.
FaultEvent
  headers : Object
[read-only] The HTTP Response headers.
FaultEvent
  statusCode : Number
[read-only] The HTTP Status Code.
FaultEvent
  statusMessage : String
[read-only] The HTTP Status Message.
FaultEvent
Public Methods
 MethodDefined by
  
FaultEvent(type:String, statusCode:Number, statusMessage:String, headers:Object, fault:Fault = null)
Constructor.
FaultEvent
  
toString():String
Returns a string representation of the FaultEvent.
FaultEvent
Public Constants
 ConstantDefined by
  FAULT : String = "fault"
[static] The FAULT event type.
FaultEvent
Property detail
faultproperty
fault:Fault  [read-only]

The underlying Fault object.

Implementation
    public function get fault():Fault
headersproperty 
headers:Object  [read-only]

The HTTP Response headers.

Implementation
    public function get headers():Object
statusCodeproperty 
statusCode:Number  [read-only]

The HTTP Status Code.

Implementation
    public function get statusCode():Number
statusMessageproperty 
statusMessage:String  [read-only]

The HTTP Status Message.

Implementation
    public function get statusMessage():String
Constructor detail
FaultEvent()constructor
public function FaultEvent(type:String, statusCode:Number, statusMessage:String, headers:Object, fault:Fault = null)

Constructor.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
statusCode:Number — The HTTP Status Code.
 
statusMessage:String — The HTTP Status Message.
 
headers:Object — The HTTP Response Headers.
 
fault:Fault (default = null) — The underlying Fault object.
Method detail
toString()method
public override function toString():String

Returns a string representation of the FaultEvent.

Returns
String — String representation of the FaultEvent.
Constant detail
FAULTconstant
public static const FAULT:String = "fault"

The FAULT event type.