Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ExceptionWithGoodAndBadConstructor (0.41 seconds)

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

          super(s);
        }
      }
    
      static final class ExceptionWithGoodAndBadConstructor extends Exception {
        public ExceptionWithGoodAndBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          super(s);
        }
      }
    
      static final class ExceptionWithGoodAndBadConstructor extends Exception {
        public ExceptionWithGoodAndBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. android/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);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  4. 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);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top