ResourceService: raise an exception when trying to find a Resource with an empty resId
In order to prevent getting an instance of a Resource class that in fact is not found.
In order to prevent getting an instance of a Resource class that in fact is not found.