Packageorg.spicefactory.lib.errors
Classpublic class NestedError
InheritanceNestedError Inheritance Error
SubclassesAbstractMethodError, ConversionError, IllegalArgumentError, IllegalExpressionError, IllegalStateError, MetadataError, MethodInvocationError, PropertyError

Base Error implementation that allows to specify a cause.



Public Properties
 PropertyDefined by
  cause : Error
[read-only] The cause of this Error, may be null.
NestedError
Public Methods
 MethodDefined by
  
NestedError(message:String = "", cause:Error = null, id:int = 0)
Creates a new instance.
NestedError
Property detail
causeproperty
cause:Error  [read-only]

The cause of this Error, may be null. The cause is the original Error that caused this Error to get thrown.

Implementation
    public function get cause():Error
Constructor detail
NestedError()constructor
public function NestedError(message:String = "", cause:Error = null, id:int = 0)

Creates a new instance.

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