Home | History | Annotate | Download | only in concurrent

Lines Matching refs:MyException

160   private static class MyException extends Exception {}
163 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture(
172 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture(
174 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture(
185 MyException exception = new MyException();
186 CheckedFuture<String, MyException> future =
199 fail("This call was supposed to throw an MyException");
200 } catch (MyException expected) {
1026 Futures.allAsList(immediateFailedFuture(new MyException())).get();
1029 assertTrue(e.getCause() instanceof MyException);
1057 Futures.allAsList(immediateFailedFuture(new MyException()),
1058 immediateFailedFuture(new MyException())).get();
1061 assertTrue(e.getCause() instanceof MyException);
1064 assertTrue(logged.get(0).getThrown() instanceof MyException);
1704 immediateFailedFuture(new MyException())).get());
1711 immediateFailedFuture(new MyException()),
1712 immediateFailedFuture(new MyException()),
1713 immediateFailedFuture(new MyException())).get());