Class org.as2lib.env.overload.UnknownOverloadHandlerException

????
   +--Error
      +--org.as2lib.env.except.AbstractThrowable
         +--org.as2lib.env.except.FatalException
            +--org.as2lib.env.overload.OverloadException
               +--org.as2lib.env.overload.UnknownOverloadHandlerException

Description

UnknownOverloadHandlerException will be thrown if no appropriate overload handler for a list of real arguments could be found.

Whether an overload handler matches a given list of real arguments is determined by the OverloadHandler#matches method.

Method Index

new UnknownOverloadHandlerException()

Inherited from FatalException

toString()

Inherited from AbstractThrowable

addStackTraceElement(), getCause(), getMessage(), getStackTrace(), getStringifier(), initCause(), setStringifier()

Constructor Detail

UnknownOverloadHandlerException

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

Constructs a new UnknownOverloadHandlerException 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 all OverloadHandler instances that do not match the overload arguments