Allow registry.IValue methods to throw RegistryException, to make it possible for IRegistry.enumValues to defer errors.