- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for throwException (1.71 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
protected volatile boolean throwException = false; protected final ListenableFutureTask<Integer> task = ListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
protected volatile boolean throwException = false; protected final ListenableFutureTask<Integer> task = ListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 4.8K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
assertNotNull(bean.myBean.getAnotherBean()); assertSame(AnotherBean.class, bean.myBean.getAnotherBean().getClass()); assertThrows(TestException.class, () -> bean.myBean.throwException()); } @Named static class MySingletonBean { @Inject @Named("scoped") BeanItf myBean; @Inject @Named("another") BeanItf2 anotherBean;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0)