methods[ix].invoke(object, convertToType(value, type, objects));
found = true;
}
if (!found)
throw new DukeConfigException("Couldn't find method '" + prop + "' in " +
"class " + object.getClass());
} catch (IllegalArgumentException e) {
throw new DukeConfigException("Couldn't set bean property " + prop +
" on object of class " + object.getClass() +
": " + e);
} catch (IllegalAccessException e) {
throw new DukeException(e);
} catch (InvocationTargetException e) {
throw new DukeConfigException("Couldn't set bean property " + prop +
" on object of class " + object.getClass() +
": " + e);
}
}