Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ExceptionWithBadConstructor (0.39 seconds)

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

        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
      static final class ExceptionWithBadConstructor extends Exception {
        public ExceptionWithBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
      }
    
      static final class OtherThrowable extends Throwable {}
    
    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/FuturesGetCheckedTest.java

            () -> getChecked(immediateFuture("x"), ExceptionWithBadConstructor.class));
      }
    
      public void testGetCheckedUntimed_badExceptionConstructor_wrapsOriginalChecked()
          throws Exception {
        assertThrows(
            IllegalArgumentException.class,
            () -> getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithBadConstructor.class));
      }
    
    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)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

            () -> getChecked(immediateFuture("x"), ExceptionWithBadConstructor.class));
      }
    
      public void testGetCheckedUntimed_badExceptionConstructor_wrapsOriginalChecked()
          throws Exception {
        assertThrows(
            IllegalArgumentException.class,
            () -> getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithBadConstructor.class));
      }
    
    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. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

        }
    
        public ExceptionWithGoodAndBadConstructor(Throwable cause) {
          super(cause);
        }
      }
    
      static final class ExceptionWithBadConstructor extends Exception {
        public ExceptionWithBadConstructor(String message, Throwable cause) {
          throw new RuntimeException("bad constructor");
        }
      }
    
      static final class OtherThrowable extends Throwable {}
    
    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)
Back to Top