anchor.diff:      version = result.version;
       if (!isCompatible) {
         sendRequest(PluginShutdownParams());
  -      info.exception =
  -          CaughtException(PluginException('Plugin is not compatible.'), null);
  +      info.reportException(
  +          CaughtException(PluginException('Plugin is not compatible.'), null));
         return false;
       }
       return true;
  
positive.code:       var pluginPath = path.join(hostPackageName, 'tools', 'analyzer_plugin');
        var plugin = DiscoveredPluginInfo(
            pluginPath, null, null, notificationManager, instrumentationService);
        plugin.exception = CaughtException(exception, stackTrace);
        _pluginMap[pluginPath] = plugin;
      }
    }
  
negative.code:       } catch (exception, stackTrace) {
          plugin = DiscoveredPluginInfo(
              path, null, null, notificationManager, instrumentationService);
          plugin.reportException(CaughtException(exception, stackTrace));
          _pluginMap[path] = plugin;
          return;
        }
  