public void cancelSearch(int searchId) { try { String password = PropertiesManager.getOptionsManager(). getRemoteSettings().getOldPassword(); HtmlLoader.getHtmlXMLContent(getHost(), HtmlLoader.POST, "/function/cancelsearch?password=" + password + "&id=" + searchId, false); } catch (Exception e) { if (logger.isEnabledFor(Level.ERROR)) { logger.error("Unbehandelte Exception", e); } }
public synchronized void cancelSearch(Search search) { new CancelThread(search).start();
    public void cancelSearch(int searchId) {        try {            String password = PropertiesManager.getOptionsManager().                getRemoteSettings().getOldPassword();            HtmlLoader.getHtmlXMLContent(getHost(), HtmlLoader.POST,                                         "/function/cancelsearch?password=" +                                         password + "&id=" + searchId, false);        }        catch (Exception e) {            if (logger.isEnabledFor(Level.ERROR)) {                logger.error("Unbehandelte Exception", e);            }        }    }