- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,808 for try (0.01 sec)
-
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
*/ @Override protected void storeData(final ResponseData responseData, final ResultData resultData) { final DOMParser parser = getDomParser(); try (final BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) { final byte[] bomBytes = new byte[UTF8_BOM_SIZE]; bis.mark(UTF8_BOM_SIZE);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java
Map<String, Object> doc1 = new HashMap<>(); doc1.put("docId", "doc1"); doc1.put("title", "Test Document 1"); documentItems.add(doc1); try { userInfoHelper.storeQueryId("query1", documentItems); assertTrue(true); } catch (Exception e) { assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
return; } try { transport.wait(); } catch (final InterruptedException ie) { throw new SmbException(ie.getMessage(), ie); } } connectionState = 1; // trying ... try { transport.connect(); /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
if (StringUtil.isBlank(secretKey)) { throw new CrawlingAccessException("secretKey is blank."); } builder.credentials(accessKey, secretKey); try { minioClient = builder.build(); } catch (final Exception e) { throw new CrawlingAccessException("Failed to create MinioClient(" + endpoint + ")", e); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17.9K bytes - Viewed (2) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test circuit opens after failure threshold") void testCircuitOpensAfterThreshold() { // Fail 3 times to open the circuit for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); }); } catch (Exception e) { // Expected } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
if (mightBeAndroid()) { try { helper = new UnsafeAtomicHelper(); } catch (Exception | Error unsafeFailure) { // sneaky checked exception thrownUnsafeFailure = unsafeFailure; // Catch absolutely everything and fall through to AtomicReferenceFieldUpdaterAtomicHelper. try { helper = new AtomicReferenceFieldUpdaterAtomicHelper();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
return false; } // Validate key lengths try { int expectedKeyLength = getKeyLength(); byte[] encKey = getEncryptionKey(); byte[] decKey = getDecryptionKey(); try { boolean valid =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Thrown exception"; try { throw new UnsupportedSearchException(expectedMessage); // fail("Exception was not thrown"); } catch (UnsupportedSearchException e) { assertEquals(expectedMessage, e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} public void test_executeTx() throws Exception { final CrawlerWebServer server = new CrawlerWebServer(7070); server.start(); final String url = "http://localhost:7070/"; try { final int maxCount = 50; final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0)