Resource providers throw exception when resource is not found.