Packageorg.spicefactory.lib.errors
Classpublic class CompoundError
InheritanceCompoundError Inheritance Error
Subclasses ConfigurationProcessorError, ConfigurationUnitError, ContextBuilderError, MappingError, ObjectDefinitionError

Base Error implementation that allows to specify multiple causes.



Public Properties
 PropertyDefined By
  causes : Array
[read-only] The causes of this Error, may be an empty Array.
CompoundError
Public Methods
 MethodDefined By
  
CompoundError(message:String, causes:Array = null, id:int = 0)
Creates a new instance.
CompoundError
Property Detail
causesproperty
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.


Implementation
    public function get causes():Array
Constructor Detail
CompoundError()Constructor
public function CompoundError(message:String, causes:Array = null, id:int = 0)

Creates a new instance.

Parameters
message:String — the error message
 
causes:Array (default = null) — the causes of this Error
 
id:int (default = 0) — an optional reference number