try {
running = ((Boolean) client.execute("crawldaemon.stop", argList))
.booleanValue();
} catch (XmlRpcException e) {
throw new CrawlException(e.getMessage());
} catch (IOException e) {
throw new CrawlException(e.getMessage());
}
if (running) {
throw new CrawlException("Stop attempt failed: crawl daemon: ["
+ this.client.getURL() + "] still running");
}
}