try {
RemoteFile remoteFile = outputLister.get(targetFileName);
if (remoteFile == null)
- throw new FileNotFoundException("Remote file " + targetFileName + " not exists!");
+ throw new FileNotFoundException("Remote file " + targetFileName + " does not exist!");
else
logger.info("File {} succesfully validated", targetName);
} catch (Exception e) {
ensureLister();
RemoteFile remoteFile = lister.get(fileName);
if (remoteFile == null)
- throw new Exception(String.format("RemoteFile '%s' not exists.", fileName));
+ throw new Exception(String.format("RemoteFile '%s' does not exist.", fileName));
logger.info("Transfering RemoteFile {}, size {}", remoteFile.getName(), remoteFile.getSize());
IDirectoryLister outputLister = RemoteFileHandler.createLister(targetStoreUri);