MethodInvocationException
Thrown by it.unibo.tuprolog.solve.libs.oop.OverloadSelector.findMethod (and, through it, by it.unibo.tuprolog.solve.libs.oop.Ref.invoke) when type has no public member named missingMethodName accepting arguments whose types are compatible with admissibleTypes -- e.g. invoking foo on an object whose class declares no such method, or calling an existing method with the wrong number/kind of arguments.
Surfaces to Prolog as an it.unibo.tuprolog.solve.exception.error.ExistenceError of type it.unibo.tuprolog.solve.exception.error.ExistenceError.ObjectType.OOP_METHOD.
Parameters
the type a method was sought on.
the method name that could not be resolved.
, for each actual argument (in order), every JVM/Kotlin type it could have been converted into.
Constructors
Functions
Converts this exception into the LogicError that should actually be thrown by context's solver, while executing signature.