Package | org.spicefactory.lib.errors |
Class | public class CompoundError |
Inheritance | CompoundError Error |
Subclasses | ConfigurationProcessorError, ConfigurationUnitError, ContextBuilderError, MappingError, ObjectDefinitionError |
Property | Defined By | ||
---|---|---|---|
causes : Array [read-only]
The causes of this Error, may be an empty Array. | CompoundError |
Method | Defined By | ||
---|---|---|---|
CompoundError(message:String, causes:Array = null, id:int = 0)
Creates a new instance. | CompoundError |
causes | property |
causes:Array
[read-only] The causes of this Error, may be an empty Array. The causes are the original Errors that caused this Error to get thrown.
public function get causes():Array
CompoundError | () | Constructor |
public function CompoundError(message:String, causes:Array = null, id:int = 0)
Creates a new instance.
Parametersmessage:String — the error message
| |
causes:Array (default = null ) — the causes of this Error
| |
id:int (default = 0 ) — an optional reference number
|