Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExceptionWithWrongTypesConstructor (0.27 sec)

  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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. 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() {
    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