log.debug("Search results:\n" + Xml.getString(response));
}
return response;
} catch (BadSoapResponseEx e) {
errors.add(new HarvestError(e, log));
throw new OperationAbortedEx("Raised exception when searching: "
+ e.getMessage(), e);
} catch (BadXmlResponseEx e) {
errors.add(new HarvestError(e, log));
throw new OperationAbortedEx("Raised exception when searching: "
+ e.getMessage(), e);
} catch (IOException e) {
errors.add(new HarvestError(e, log));
throw new OperationAbortedEx("Raised exception when searching: "
+ e.getMessage(), e);
}
}