Throw exception for missing resource