public static void doSearch(View view, String searchTerm) { try { instance.searchFor(searchTerm, view); } catch (IOException e) { e.printStackTrace(); RubyPlugin.error(e, RDocSeacher.class); } catch (InterruptedException e) { e.printStackTrace(); RubyPlugin.error(e, RDocSeacher.class); }
public static void doSearch(View view) throws IOException, InterruptedException { instance.performSearch(view);
    public static void doSearch(View view, String searchTerm) {        try {            instance.searchFor(searchTerm, view);        } catch (IOException e) {            e.printStackTrace();            RubyPlugin.error(e, RDocSeacher.class);        } catch (InterruptedException e) {            e.printStackTrace();            RubyPlugin.error(e, RDocSeacher.class);        }    }