Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ExceptionWithWrongTypesConstructor (0.19 seconds)

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

        public ExceptionWithoutThrowableConstructor(String s) {
          super(s);
        }
      }
    
      public static final class ExceptionWithWrongTypesConstructor extends Exception {
        public ExceptionWithWrongTypesConstructor(Integer i, String s) {
          super(s);
        }
      }
    
      static final class ExceptionWithGoodAndBadConstructor extends Exception {
    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

        public ExceptionWithoutThrowableConstructor(String s) {
          super(s);
        }
      }
    
      public static final class ExceptionWithWrongTypesConstructor extends Exception {
        public ExceptionWithWrongTypesConstructor(Integer i, String s) {
          super(s);
        }
      }
    
      static final class ExceptionWithGoodAndBadConstructor extends Exception {
    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_exceptionClassPublicConstructorWrongType()
          throws ExceptionWithWrongTypesConstructor {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithWrongTypesConstructor.class));
      }
    
      public void testGetCheckedUntimed_exceptionClassPrefersStringConstructor() {
    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_exceptionClassPublicConstructorWrongType()
          throws ExceptionWithWrongTypesConstructor {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithWrongTypesConstructor.class));
      }
    
      public void testGetCheckedUntimed_exceptionClassPrefersStringConstructor() {
    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