| 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 | ||
clone():Event [override] | 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 — 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
|
| clone | () | method |
override public function clone():EventReturnsEvent |