- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 169 for catch (0.01 sec)
-
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); final CountDownLatch latch = new CountDownLatch(1); deferred.promise().then(response -> latch.countDown()); assertTrue(latch.await(10, TimeUnit.SECONDS)); } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
fail(); } catch (ChildUrlsException e) { String[] values = e.getChildUrlList().stream().map(d -> d.getUrl()).sorted().toArray(n -> new String[n]); assertEquals(0, values.length); } try (final ResponseData responseData = storageClient.doGet("")) { fail(); } catch (CrawlerSystemException e) { // nothing }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 13.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
Thread.sleep(2000); } catch (InterruptedException e) { throw new CrawlingAccessException(e); } return null; } }; client.setAccessTimeout(1); try { client.doGet("smb1://localhost/test.txt"); fail(); } catch (CrawlingAccessException e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
*/ @Override public boolean match(final ResponseData responseData) { if (super.match(responseData)) { try (final InputStream is = responseData.getResponseBody()) { final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper"); return sitemapsHelper.isValid(is); } catch (final CrawlingAccessException e) { throw e;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
resultData.removeUrl(requestData); resultData.removeUrl(getDuplicateUrl(requestData)); } catch (final CrawlerSystemException e) { throw e; } catch (final Exception e) { throw new CrawlerSystemException("Could not store data.", e); } } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
} } catch (final CrawlerSystemException e) { throw e; } catch (final InterruptedException e) { if (mt != null && mt.isTeminated()) { throw new ExecutionTimeoutException("The command execution is timeout: " + cmdList, e); } throw new InterruptedRuntimeException(e); } catch (final Exception e) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
} } } catch (final MaxLengthExceededException e) { throw e; } catch (final Exception e) { throw new ExtractException("Could not extract a content.", e); } finally { if (lhaFile != null) { try { lhaFile.close(); } catch (final IOException e) { // ignoreRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
responseData.setCharSet(charset); responseData.setContentLength(0); } } catch (final CrawlerSystemException e) { CloseableUtil.closeQuietly(responseData); throw e; } catch (final SmbException e) { CloseableUtil.closeQuietly(responseData); throw new CrawlingAccessException("Could not access " + uri, e);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java
try { client.checkMaxContentLength(responseData); fail(); } catch (MaxLengthExceededException e) { // ok } responseData.setContentLength(1000000000L); try { client.checkMaxContentLength(responseData); fail(); } catch (MaxLengthExceededException e) { // ok }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3K bytes - Viewed (0)