- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FileNotFoundException (0.06 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
* * @param tempFile the temporary file to be read * @throws FileNotFoundException if the specified file does not exist */ public TemporaryFileInputStream(final File tempFile) throws FileNotFoundException { this.tempFile = tempFile; fileInputStream = new FileInputStream(tempFile); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
File nonExistentFile = new File("/tmp/non-existent-file-" + System.currentTimeMillis() + ".tmp"); try { new TemporaryFileInputStream(nonExistentFile); fail("Should throw FileNotFoundException"); } catch (IOException e) { // Expected assertTrue(e.getMessage().contains("non-existent-file")); } }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0)