- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,616 for threw (0.13 sec)
-
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} try { // last chance - classic model return Class.forName(name); } catch (final Exception e) { throw new TypeNotPresentException(name, e); } catch (final LinkageError e) { throw new TypeNotPresentException(name, e); } } /** * Creates an instance of the given implementation using the default constructor. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
static { try { DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate"); DELEGATE_METHOD.setAccessible(true); } catch (SecurityException e) { throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 05 19:41:03 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
} 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); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is * reached, the proxy will attempt to abort the call to the target, and will throw an {@link * UncheckedTimeoutException} to the caller. * * <p>It is important to note that the primary purpose of the proxy object is to return control to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "B", "c"); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContains() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "c", "b"); throw new Error(); } catch (AssertionFailedError expected) { } try { assertContentsInOrder(list, "a", "B", "c"); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContains() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator(); IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator)); assertThat(expected) .hasMessageThat() .isEqualTo("expected one element but was: <one, two, three, four, five>"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
} return table.cellSet(); } @Override Table<String, Integer, Character> createTable() { throw new UnsupportedOperationException(); } }) .named("ArrayTable.cellSet") .withFeatures( CollectionSize.ONE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
} return table.cellSet(); } @Override Table<String, Integer, Character> createTable() { throw new UnsupportedOperationException(); } }) .named("ArrayTable.cellSet") .withFeatures( CollectionSize.ONE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
for (int i = 0; i < reps; ++i) { if (javaImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void longEqualUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void diffLastJava(int reps) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0)