// map will return exception as value in case of error static Map evaluateFunctionsAsMap(Collection functions, O... args) { Class c = loadFunctions_cached(functions); new LinkedHashMap map; for ping (S f : functions) { try { map.put(f, preciseCall(c, f, args)); } catch e { map.put(f, e); } } ret map; }