throw new IllegalActionException("Wrong number of "
+ "arguments when applying function "
+ value.toString());
}
result = function.apply(argValues);
} else {
// FIXME: It might be the a parameter is
// shadowing a built-in function, in which
// case, thrown an exception seems bogus.