Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExceptionWithGoodAndBadConstructor (0.12 sec)

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

      public void testGetCheckedUntimed_withGoodAndBadExceptionConstructor() throws Exception {
        ExceptionWithGoodAndBadConstructor expected =
            assertThrows(
                ExceptionWithGoodAndBadConstructor.class,
                () ->
                    getChecked(
                        FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithGoodAndBadConstructor.class));
        assertThat(expected).hasCauseThat().isSameInstanceAs(CHECKED_EXCEPTION);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top