@Override public final void setObject( Object obj, Object value ) { try { if (!isReadOnly()) setter.invoke ( obj, value ); } catch ( Throwable e ) { Exceptions.handle( String.format( "You tried to modify property %s of %s for instance %s " + "with set %s using %s, and this property read only status is %s", name, obj.getClass().getSimpleName(), obj, value, name(), isReadOnly () ), e ); } }
@Override public final void setObject( Object obj, Object value ) { try { if (!isReadOnly()) setter.invoke ( obj, value ); } catch ( Throwable e ) { Exceptions.handle( String.format( "You tried to modify property %s of %s for instance %s " + "with set %s using %s, and this property read only status is %s", name, obj.getClass().getSimpleName(), obj, value, name(), isReadOnly () ), e ); } }