- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for EX (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
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()); } public void testListeningDecorator_schedulePeriodic() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); } // Error cases public void testSameThreadExecutionException() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
try { InputSource copy = (InputSource) super.clone(); return copy; } catch (Exception ex) { throw (RuntimeException) new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex); } } // -- InputSource clone() /** * Get the path/URL of the POM or {@code null} if unknown. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java
} } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException ex) { // ignore and move on to the next } } } catch (IOException ex) { // ignore } return new UnsupportedSlf4jBindingConfiguration(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
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()); } public void testListeningDecorator_schedulePeriodic() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
RuntimeException re = new RuntimeException(iae); IllegalStateException ex = new IllegalStateException(re); assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder(); assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue))); List<Throwable> causes = getCausalChain(ex); assertThrows(UnsupportedOperationException.class, () -> causes.add(new RuntimeException())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
RuntimeException re = new RuntimeException(iae); IllegalStateException ex = new IllegalStateException(re); assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder(); assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue))); List<Throwable> causes = getCausalChain(ex); assertThrows(UnsupportedOperationException.class, () -> causes.add(new RuntimeException())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-model/src/test/resources/xml/pom.xml
<template>src/main/mdo/transformer.vm</template> <template>src/main/mdo/reader.vm</template> <template>src/main/mdo/reader-ex.vm</template> <template>src/main/mdo/writer.vm</template> <template>src/main/mdo/writer-ex.vm</template> </templates> <params> <param>packageModelV3=org.apache.maven.model</param>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
try { UnsignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
if len(e.And) == 1 { // In this case, result is not required to be boolean // type. return e.And[0].evalNode(r, tableAlias) } // Compute OR of conditions result := false for _, ex := range e.And { res, err := ex.evalNode(r, tableAlias) if err != nil { return nil, err } b, ok := res.ToBool() if !ok { return nil, errExpectedBool } if b { return FromBool(true), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0)