- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,226 for threw (0.17 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* values. This includes both successful load operations and those that threw exceptions. This is * defined as {@code loadSuccessCount + loadExceptionCount}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is * guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
* values. This includes both successful load operations and those that threw exceptions. This is * defined as {@code loadSuccessCount + loadExceptionCount}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is * guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
return eventBus; } /** Returns the event object that caused the subscriber to throw. */ public Object getEvent() { return event; } /** Returns the object context that the subscriber was called on. */ public Object getSubscriber() { return subscriber; } /** Returns the subscribed method that threw the exception. */ public Method getSubscriberMethod() { return subscriberMethod; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
assertThat(expected) .hasMessageThat() .isEqualTo("I bet you didn't think Thread.interrupt could throw"); /* * We need to wait for the runner to exit. It used to be that the runner would get stuck in the * busy loop when interrupt threw. * * While we're at it, we confirm that the interrupt happened as expected. */ ExecutionException fromRunInterruptibly =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} catch (PermittedMetaException e) { referenceException = e; } catch (UnknownElementException e) { throw new AssertionError(e); } if (referenceException == null) { if (targetException != null) { throw new AssertionError("Target threw exception when reference did not", targetException); } /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 20.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* <li>To get uninterruptibility and remove checked exceptions, use {@link * Futures#getUnchecked}. * </ul> * * @throws ExecutionException if the computation threw an exception * @throws CancellationException if the computation was cancelled */ @CanIgnoreReturnValue @ParametricNullness public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0)