It isn't possible here because the problem is that any class that imports `MetadataProviderException` will fail `-Werror`. We have to use something like `AccessorImpl` that is in the same package (so no import statement) and isn't really part of the public API. There's no good location for this in the SPI because it has to be a SPI method implemented by API classes. For one release, this seems like the best solution.