Lines Matching defs:EXCEPTION
36 protected static final Exception EXCEPTION = new Exception("Test exception");
43 protected void setUp() throws Exception {
52 public void testFutureGetBeforeCallback() throws Exception {
53 // Verify that get throws a timeout exception before the callback is called.
60 public void testFutureGetThrowsWrappedException() throws Exception {
61 inputFuture.setException(EXCEPTION);
62 listener.assertException(EXCEPTION);
65 public void testFutureGetThrowsWrappedError() throws Exception {
94 * the exception to EXCEPTION in all other cases.