| Package | org.spicefactory.lib.events |
| Class | public class NestedErrorEvent |
| Inheritance | NestedErrorEvent flash.events.ErrorEvent |
ErrorEvent implementation that allows to specify a cause.
| Property | Defined by | ||
|---|---|---|---|
| cause : Object [read-only]
The cause of this ErrorEvent, may be null.
| NestedErrorEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
NestedErrorEvent(type:String, cause:Object = null, text:String = "", bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance.
| NestedErrorEvent | ||
| cause | property |
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.
public function get cause():Object
| NestedErrorEvent | () | constructor |
public function NestedErrorEvent(type:String, cause:Object = null, text:String = "", bubbles:Boolean = false, cancelable:Boolean = false)Creates a new instance.
Parameterstype: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
|