// invoke the settter method
method.invoke(object, new Object[]{value});
}
catch (NoSuchMethodException e) {
throw new MappingException("mapping.noSuchMethod",
object.getClass().getName(),method.getName());
}
catch (InvocationTargetException e) {
throw new MappingException("field.invokeTarget",
method.getName());
}
catch (Exception e) {
throw new MappingException(e);
}
}