Class org.as2lib.env.overload.SameTypeSignatureException

Description

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.

Field Index

Inherited from Error

message, name

Method Index

new SameTypeSignatureException()

Inherited from FatalException

Inherited from AbstractThrowable

Constructor Detail

SameTypeSignatureException

public function SameTypeSignatureException(message:String, thrower, args:Array, overloadTarget, overloadedMethod:Function, overloadArguments:Array, overloadHandlers:Array)

Constructs a new SameTypeSignatureException instance.

Parameters

messagethe message of the exception
throwerthe object whose method threw the exception
argsthe arguments of the method that threw the exception
overloadTargetthe target object the method should be invoked on / on which the overload is performed
overloadedMethodthe method that is overloaded
overloadArgumentsthe real arguments used to perform the overloading
overloadHandlersan array containing OverloadHandler instances that have the same type signature