t.setUrl(new URL(params.url));
} catch (MalformedURLException e1) {
HarvestError harvestError = new HarvestError(e1, log);
harvestError.setDescription(harvestError.getDescription() + " " + params.url);
errors.add(harvestError);
throw new AbortExecutionException(e1);
}
if (params.useAccount) {
t.setCredentials(params.username, params.password);
}