Packagecom.yahoo.webapis.search.events
Classpublic class SearchFaultEvent
InheritanceSearchFaultEvent Inheritance flash.events.Event

Error Event class in response to fault events from the Yahoo! Search API.



Public Properties
 PropertyDefined by
  fault : ServiceFault
Fault
SearchFaultEvent
  success : Boolean
True if the event is the result of a successful call, False if the call failed
SearchFaultEvent
Public Methods
 MethodDefined by
  
SearchFaultEvent(type:String, fault:ServiceFault = null)
Constructs a new ErrorEvent
SearchFaultEvent
Public Constants
 ConstantDefined by
  API_RESPONSE : String = "API Response"
[static]
SearchFaultEvent
  ERROR_EVENT : String = "ErrorEvent"
[static]
SearchFaultEvent
  FAULT : String = "fault"
[static] Constant for the event types.
SearchFaultEvent
  NO_RESULTS : String = "No Results"
[static]
SearchFaultEvent
  XML_LOADING : String = "XML Loading"
[static]
SearchFaultEvent
Property detail
faultproperty
fault:ServiceFault  [read-write]

Fault

Implementation
    public function get fault():ServiceFault
    public function set fault(value:ServiceFault):void
successproperty 
public var success:Boolean

True if the event is the result of a successful call, False if the call failed

Constructor detail
SearchFaultEvent()constructor
public function SearchFaultEvent(type:String, fault:ServiceFault = null)

Constructs a new ErrorEvent

Parameters
type:String
 
fault:ServiceFault (default = null)
Constant detail
API_RESPONSEconstant
public static const API_RESPONSE:String = "API Response"
ERROR_EVENTconstant 
public static const ERROR_EVENT:String = "ErrorEvent"
FAULTconstant 
public static const FAULT:String = "fault"

Constant for the event types.

NO_RESULTSconstant 
public static const NO_RESULTS:String = "No Results"
XML_LOADINGconstant 
public static const XML_LOADING:String = "XML Loading"