code: public final IPluginInterface getPlugin(final String name) throws UnknownPluginException {
          PluginDefinition pluginDef = pluginsDefinitionsMap.get(name);
          if (pluginDef == null) {
              throw new UnknownPluginException(name);
          }
  
          try {
              IPluginInterface pluginInterface = pluginDef.getPluginInterface();
  
              if (pluginInterface == null) {
                  pluginInterface = pluginDef.getPluginClass().newInstance();
              }
              return new PluginProxy(pluginInterface, pluginDef);
          } catch (Exception e) {
              // FIXME : handle this exception
              e.printStackTrace();
          }
  
          return null;
      }
docs: Returns the implementation of the plugin identified by the given name.
  
  @param name
  The plugin name
  
  
  @return the plugin identified by the given name * @throws UnknownPluginException
  if no plugin with the given name exists. * @see it.jnrpe.plugins.IPluginRepository#getPlugin(String)