throw an exception when not able to inject a property : this is more convenient than silently leave the property unset and log an error