Packageorg.spicefactory.lib.events
Classpublic class CompoundErrorEvent
InheritanceCompoundErrorEvent Inheritance flash.events.ErrorEvent

Base ErrorEvent implementation that allows to specify multiple causes.



Public Properties
 PropertyDefined By
  causes : Array
[read-only] The causes of this ErrorEvent, may be an empty Array.
CompoundErrorEvent
Public Methods
 MethodDefined By
  
CompoundErrorEvent(type:String, causes:Array = null, text:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance.
CompoundErrorEvent
  
clone():Event
[override]
CompoundErrorEvent
Property Detail
causesproperty
causes:Array  [read-only]

The causes of this ErrorEvent, may be an empty Array. Permitted types are Error and ErrorEvent or any other type with a meaningful String representation. For these other types the toString method will be invoked to construct the value of the text property.


Implementation
    public function get causes():Array
Constructor Detail
CompoundErrorEvent()Constructor
public function CompoundErrorEvent(type:String, causes:Array = null, text:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new instance.

Parameters
type:String — the type of the event
 
causes:Array (default = null) — the causes of this ErrorEvent
 
text:String — the error message
 
bubbles:Boolean (default = false) — indicates whether the Event object bubbles
 
cancelable:Boolean (default = false) — indicates whether the Event object can be canceled
Method Detail
clone()method
override public function clone():Event

Returns
Event