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
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 (default = "") — 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