throwing more detailed exception when setting entity property fails