Invoker: minor improvement: reorganize code.
Invoker: simplify exception in parameters provider case of method invocation.