SameTypeSignatureException is thrown when two or more overload handlers
have the same type signature.
Compared are the arguments' types of two overload handlers. This is mostly done using the OverloadHandler#isMoreExplicit method.
public function SameTypeSignatureException(message:String, thrower, args:Array, overloadTarget, overloadedMethod:Function, overloadArguments:Array, overloadHandlers:Array)
Constructs a new SameTypeSignatureException instance.
message | the message of the exception |
thrower | the object whose method threw the exception |
args | the arguments of the method that threw the exception |
overloadTarget | the target object the method should be invoked on / on which the overload is performed |
overloadedMethod | the method that is overloaded |
overloadArguments | the real arguments used to perform the overloading |
overloadHandlers | an array containing OverloadHandler instances
that have the same type signature
|