public void setAccessibleField(Object owner, Object value, int fieldIndex) throws ExecuteException { try { AccessibleFieldSetter setter = accessibleFieldSetters.get(fieldIndex); setter.set(owner, value); } catch (Exception e) { throw new ExecuteException("Rule.setAccessibleField : unexpected error setting non-public field in rule " + getName(), e); } }
public void setAccessibleField(Object owner, Object value, int fieldIndex) throws ExecuteException { try { AccessibleFieldSetter setter = accessibleFieldSetters.get(fieldIndex); setter.set(owner, value); } catch (Exception e) { throw new ExecuteException("Rule.setAccessibleField : unexpected error setting non-public field in rule " + getName(), e); } }