Revision 47208
Added by Alessia Bardi about 7 years ago
modules/dnet-data-services/branches/saxonHE/src/main/java/eu/dnetlib/data/collector/plugins/archive/targz/TarGzIterable.java | ||
---|---|---|
28 | 28 |
final String tarGzPath = interfaceDescriptor.getBaseUrl(); |
29 | 29 |
URL tarGzUrl = new URL(tarGzPath); |
30 | 30 |
this.tarGzFile = new File(tarGzUrl.getPath()); |
31 |
if (!tarGzFile.exists()) { throw new CollectorServiceException(String.format("The base ULR %s, does not exist", tarGzFile.getPath())); }
|
|
31 |
if (!tarGzFile.exists()) { throw new CollectorServiceException(String.format("The base URL %s, does not exist", tarGzFile.getPath())); }
|
|
32 | 32 |
} catch (MalformedURLException e) { |
33 | 33 |
throw new CollectorServiceException("TarGz collector failed! ", e); |
34 | 34 |
} |
Also available in: Unified diff
Typo in log