try {
if (!method.isAccessible())
method.setAccessible(true);
method.invoke(instance, value);
} catch (IllegalArgumentException exception) {
throw new TranslationException(
"Cannot set value for field property " + getName(),
exception);
} catch (IllegalAccessException exception) {
throw new TranslationException(
"Cannot set value for field property " + getName(),
exception);
} catch (InvocationTargetException exception) {
throw new TranslationException("Cannot for method property "
+ getName(), exception);
}
}