Packagecom.amazonaws
Classpublic class IOErrorActionEvent
InheritanceIOErrorActionEvent Inheritance flash.events.IOErrorEvent

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : July 28. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Error event dispatched when HTTP status code >= 400.



Public Properties
 PropertyDefined By
  result : ResponseResult
[read-only] Returns parsed error message from Amazon AWS service.
IOErrorActionEvent
Public Methods
 MethodDefined By
  
IOErrorActionEvent(result:ResponseResult, type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String, id:int = 0)
An IOErrorEvent object is dispatched when an error causes input or output operations to fail.
IOErrorActionEvent
Public Constants
 ConstantDefined By
  IO_ERROR : String = ioError
[static] Type of event: IO_ERROR
IOErrorActionEvent
Property Detail
resultproperty
result:ResponseResult  [read-only]

Returns parsed error message from Amazon AWS service.


Implementation
    public function get result():ResponseResult
Constructor Detail
IOErrorActionEvent()Constructor
public function IOErrorActionEvent(result:ResponseResult, type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String, id:int = 0)

An IOErrorEvent object is dispatched when an error causes input or output operations to fail. You can check for error events that do not have any listeners by using the debugger version of Flash Player or the AIR Debug Launcher (ADL). The string defined by the text parameter of the IOErrorEvent constructor is displayed.

Parameters
result:ResponseResult — Amazon AWS response result.
 
type:String — The type of the event. Event listeners can access this information through the inherited type property. There is only one type of input/output error event: IOErrorActionEvent.IO_ERROR.
 
bubbles:Boolean (default = false) — Indicates whether an event is a bubbling event. If the event can bubble, this value is true; otherwise it is false. When an event occurs, it moves through the three phases of the event flow: the capture phase, which flows from the top of the display list hierarchy to the node just before the target node; the target phase, which comprises the target node; and the bubbling phase, which flows from the node subsequent to the target node back up the display list hierarchy. Some events, such as the activate and unload events, do not have a bubbling phase. The bubbles property has a value of false for events that do not have a bubbling phase.
 
cancelable:Boolean (default = false) — Indicates whether the behavior associated with the event can be prevented. If the behavior can be canceled, this value is true; otherwise it is false.
 
text:String — Text to be displayed as an error message. Event listeners can access this information through the text property.
 
id:int (default = 0) — A reference number to associate with the specific error (supported in Adobe AIR only).
Constant Detail
IO_ERRORConstant
public static const IO_ERROR:String = ioError

Type of event: IO_ERROR