- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 2,684 for catch (0.05 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
try { super.testContainsKey(); } catch (ClassCastException tolerated) { } } @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash) @Override public void testEntrySetContainsEntryIncompatibleKey() { try { super.testEntrySetContainsEntryIncompatibleKey(); } catch (ClassCastException tolerated) { } } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
successCount.incrementAndGet(); } } catch (Exception e) { errorCount.incrementAndGet(); } finally { latch.countDown(); } }).start(); } latch.await(); assertEquals("All threads should succeed", threadCount, successCount.get());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
@Test public void test_multipleCatches() { // Test with multiple catch blocks boolean caughtSpecific = false; boolean caughtRuntime = false; try { throw new DictionaryExpiredException(); } catch (DictionaryExpiredException e) { caughtSpecific = true; } catch (RuntimeException e) { caughtRuntime = true; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
try { helper.init(); assertNotNull(helper.suggester()); } catch (Exception e) { assertTrue(true); } } @Test public void test_suggester() { try { assertNull(suggestHelper.suggester()); } catch (Exception e) { assertTrue(true); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
fail(); } catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); } } static void verifyTimedGetOnPendingFuture(Future<?> future) { try { getUninterruptibly(future, 0, SECONDS); fail(); } catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
try { super.testEntrySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE. } } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
try { return ps.execute(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Executes a batch update. * * @param ps * {@link PreparedStatement}. Must not be {@literal null}. * @return An array of the number of rows affected by each command in the batch. * @throws SQLRuntimeExceptionCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
? future.get(timeoutDuration, timeoutUnit) : getUninterruptibly(future, timeoutDuration, timeoutUnit); } catch (InterruptedException e) { future.cancel(true); throw e; } catch (ExecutionException e) { throw throwCause(e, true /* combineStackTraces */); } catch (TimeoutException e) { future.cancel(true); throw new UncheckedTimeoutException(e); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
try { keyMatchHelper.buildQuery(keywordList, functionBuilders); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); return; } assertEquals(0, functionBuilders.size()); } catch (Exception e) { // Expected due to missing dependencies in test environmentCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.4K bytes - Click Count (0)