Packageorg.granite.reflect
Classpublic class InvocationTargetError
InheritanceInvocationTargetError Inheritance ReflectionError Inheritance Error

InvocationTargetError is an error that wraps an error thrown by an invoked method or constructor.

See also

Method.invoke
Method.invokeWithArray
Constructor.newInstance
Constructor.newInstanceWithArray


Public Properties
 PropertyDefined by
  cause : Error
[read-only] The original error cause of this InvocationTargetError.
InvocationTargetError
Public Methods
 MethodDefined by
  
InvocationTargetError(cause:Error, message:*, id:* = 0)
InvocationTargetError
Property detail
causeproperty
cause:Error  [read-only]

The original error cause of this InvocationTargetError.

Implementation
    public function get cause():Error
Constructor detail
InvocationTargetError()constructor
public function InvocationTargetError(cause:Error, message:*, id:* = 0)Parameters
cause:Error
 
message:*
 
id:* (default = 0)