- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for RuntimeException (0.28 sec)
-
android/guava-testlib/src/com/google/common/testing/ClusterException.java
* RuntimeException}, return it * <li>If {@code exceptions} has a single exceptions and that exceptions is not a * {@link RuntimeException}, return a simple {@code RuntimeException} that wraps it * <li>Otherwise, return an instance of {@link ClusterException} that wraps the first exception * in the {@code exceptions} collection. * </ul> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* * @throws RuntimeException If PUT fails for any reason. */ void put(@Nonnull Path source, @Nonnull URI relativeTarget); /** * PUTs the source byte array to target URI. The target MUST BE relative from the * {@link RemoteRepository#getUrl()} root. * * @throws RuntimeException If PUT fails for any reason. */ void putBytes(@Nonnull byte[] source, @Nonnull URI relativeTarget); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 4.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
try { final CountDownLatch latch = new CountDownLatch(1); RuntimeException expected = assertThrows(RuntimeException.class, () -> GcFinalization.await(latch)); assertWrapsInterruptedException(expected); } finally { interruptenator.shutdown(); Thread.interrupted(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
try { super.testEntrySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE. } } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
try { final CountDownLatch latch = new CountDownLatch(1); RuntimeException expected = assertThrows(RuntimeException.class, () -> GcFinalization.await(latch)); assertWrapsInterruptedException(expected); } finally { interruptenator.shutdown(); Thread.interrupted(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, MILLISECONDS); } public void testRunWithTimeout_wrapsUncheckedException() throws Exception { RuntimeException exception = new RuntimeException("test"); UncheckedExecutionException e = assertThrows( UncheckedExecutionException.class,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0) -
android/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) { // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE. }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
protected void startUp() throws Exception { super.startUp(); throw exception; } }; assertEquals(0, service.startUpCalled); RuntimeException e = assertThrows(RuntimeException.class, () -> service.startAsync().awaitRunning()); assertThat(e).hasCauseThat().isSameInstanceAs(exception); assertEquals(1, service.startUpCalled);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
immediateFailedFuture(CHECKED_EXCEPTION); static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage"); static final Future<String> FAILED_FUTURE_UNCHECKED_EXCEPTION = immediateFailedFuture(UNCHECKED_EXCEPTION); static final RuntimeException RUNTIME_EXCEPTION = new RuntimeException(); static final OtherThrowable OTHER_THROWABLE = new OtherThrowable();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 13:46:56 UTC 2023 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
public static <V> ListenableFuture<V> throwingRuntimeException(RuntimeException e) { UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>(); future.complete(checkNotNull(e)); return future; } public static <V> UncheckedThrowingFuture<V> incomplete() { return new UncheckedThrowingFuture<V>(); } public void complete(RuntimeException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0)