Path output = Paths.get("/mediacube/data", archivedMedia.getMedia().getHouseId(),\r
archivedMedia.getMedia().getHouseId() + "-ARCH-" + archivedMedia.getMedia().getMediaFileRealName());\r
if (!output.toFile().exists())\r
- throw new Exception("File not exists: " + output);\r
+ throw new Exception("File does not exist: " + output);\r
\r
logger.info("_01_test_retrieve_ondemand SUCCESS");\r
}\r
Path ouptput = Paths.get(input.getParent().toString(), outputName);\r
Files.copy(input, ouptput);\r
if (!ouptput.toFile().exists())\r
- throw new Exception("File not exists: " + ouptput);\r
+ throw new Exception("File does not exist: " + ouptput);\r
\r
ArchiveItem archiveItem = new ArchiveItem();\r
archiveItem.setMediaFile(ouptput.toString());\r