Thrown under some circumstances from `URIStreamOpener::registerStreamFactory`.