- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 492 for RuntimeException (0.11 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e); } }; private static final Runnable BAD_RUNNABLE = () -> { try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e); } throw new SampleRuntimeException(); };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e); } }; private static final Runnable BAD_RUNNABLE = () -> { try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) { throw new RuntimeException(e); } throw new SampleRuntimeException(); };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* wrapping a checked exception, prefer {@code ExecutionException}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible public class UncheckedExecutionException extends RuntimeException { /* * Ideally, this class would have exposed only constructors that require a non-null cause. SeeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
@Override public void onShutdown() { throw new RuntimeException("Test exception"); } }); try { jobExecutor.shutdown(); fail("Expected RuntimeException"); } catch (RuntimeException e) { assertEquals("Test exception", e.getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
throw new RuntimeException("Final reconnection attempt failed", e); } // Retry try { return attemptReconnect(info, attempt + 1, originalCause).get(); } catch (Exception retryException) { throw new RuntimeException("Retry failed", retryException); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1); ListeningScheduledExecutorService service = listeningDecorator(delegate); RuntimeException ex = new RuntimeException(); ListenableFuture<?> future = service.schedule(new ThrowingRunnable(0, ex), 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(0, delegate.getQueue().size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
assertThat(listener.isEmpty()).isTrue(); checkEmpty(cache); } public void testGet_runtimeException() { RuntimeException e = new RuntimeException(); LoadingCache<Object, Object> map = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(exceptionLoader(e));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
exceptionParams.put("throwException", true); try { queryRescorer.evaluate(exceptionParams); fail("Expected RuntimeException"); } catch (RuntimeException e) { assertEquals("Test exception", e.getMessage()); } } @Test public void test_evaluate_concurrency() { queryRescorer = new QueryRescorer() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
list.add( () -> { try { okayToRun.await(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new RuntimeException(e); } runCalled.getAndIncrement(); }, directExecutor()); Runnable execute = list::execute; Thread thread1 = new Thread(execute);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
list.add( () -> { try { okayToRun.await(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new RuntimeException(e); } runCalled.getAndIncrement(); }, directExecutor()); Runnable execute = list::execute; Thread thread1 = new Thread(execute);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0)