Packageorg.spicefactory.lib.events
Classpublic class NestedErrorEvent
InheritanceNestedErrorEvent Inheritance flash.events.ErrorEvent

Base ErrorEvent implementation that allows to specify a cause.



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

The cause of this ErrorEvent, may be null. 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 cause():Object
Constructor Detail
NestedErrorEvent()Constructor
public function NestedErrorEvent(type:String, cause:Object = null, text:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new instance.

Parameters
type:String — the type of the event
 
cause:Object (default = null) — the cause 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