Access keys

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 handlers
have the same type signature.

Compared are the arguments' types of two overload handlers. This is mostly done
using the OverloadHandler.isMoreExplicit method.

Summary

Class properties
Class properties inherited from AbstractThrowable
Class methods
Instance methods

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
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