Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MyRuntimeException (1.84 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            UncheckedThrowingFuture.throwingRuntimeException(new MyRuntimeException());
    
        // We'd catch only MyRuntimeException.class here, but then the test won't compile under GWT.
        ListenableFuture<Object> output =
            catching(input, Throwable.class, identity(), directExecutor());
        assertThat(getDone(output)).isInstanceOf(MyRuntimeException.class);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            UncheckedThrowingFuture.throwingRuntimeException(new MyRuntimeException());
    
        // We'd catch only MyRuntimeException.class here, but then the test won't compile under GWT.
        ListenableFuture<Object> output =
            catching(input, Throwable.class, identity(), directExecutor());
        assertThat(getDone(output)).isInstanceOf(MyRuntimeException.class);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
Back to top