SameTypeSignatureException
| Kind of class: | class |
|---|---|
| Inherits from: | OverloadException < FatalException < AbstractThrowable < Error |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.env.overload.SameTypeSignatureException |
| File last modified: | Saturday, 02 July 2005, 22:43:52 |
SameTypeSignatureException is thrown when two or more overload handlershave the same type signature.
Compared are the arguments' types of two overload handlers. This is mostly done
using the OverloadHandler.isMoreExplicit method.
Summary
Constructor
Class properties
Class properties inherited from AbstractThrowable
Class methods
Class methods inherited from AbstractThrowable
Instance methods
Instance methods inherited from FatalException
Instance methods inherited from AbstractThrowable
Constructor
SameTypeSignatureException
function SameTypeSignatureException (
message:String,
thrower,
args:Array,
overloadTarget,
overloadedMethod:Function,
overloadArguments:Array,
overloadHandlers:Array)
Constructs a new
SameTypeSignatureException instance.Parameters:
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
which the overload is performed
overloadedMethod :
the method that is overloaded
overloadArguments:
the real arguments used to perform the overloading
overloadHandlers :
an array containing
that have the same type signature
OverloadHandler instancesthat have the same type signature