Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCatching (0.06 sec)

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

        assertThat(called[0]).isTrue();
      }
    
      // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes.
      static class CustomRuntimeException extends RuntimeException {}
    
      public void testCatching() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catching(
                    Throwable.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top