Package | org.spicefactory.lib.errors |
Class | public class NestedError |
Inheritance | NestedError Error |
Subclasses | AbstractMethodError, ContextError, ConversionError, IllegalArgumentError, IllegalExpressionError, IllegalStateError, MethodInvocationError, ObjectDefinitionBuilderError, PropertyError, ValidationError |
Error
implementation that allows to specify a cause.
Property | Defined By | ||
---|---|---|---|
cause : Error [read-only]
The cause of this Error, may be null. | NestedError |
Method | Defined By | ||
---|---|---|---|
NestedError(message:String, cause:Error = null, id:int = 0)
Creates a new instance. | NestedError |
cause | property |
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.
public function get cause():Error
NestedError | () | Constructor |
public function NestedError(message:String, cause:Error = null, id:int = 0)
Creates a new instance.
Parametersmessage:String — the error message
| |
cause:Error (default = null ) — the cause of this Error
| |
id:int (default = 0 ) — an optional reference number
|