However, in ServiceLocatorInterface it has a throw that isn't imported.

Will look for further examples of what's been done in the past when I don't
have a nearly dead phone.