{
Location location = locations[i];
try
{
URL locationURL = new URL(location.getLink());
downloader.download(locationURL, targetDirectory);
successful.add(location);
} catch (IOException e)
{
LOG.log(Level.SEVERE, MessageFormat.format(
Strings.error("invalid.url"),