Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for propagateIfPossible (0.1 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        propagateIfPossible(new SomeCheckedException());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
      public void testPropagateIfPossible_oneDeclared_unchecked() {
        assertThrows(
            SomeUncheckedException.class,
            () -> propagateIfPossible(new SomeUncheckedException(), SomeCheckedException.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

        propagateIfPossible(new SomeCheckedException());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
      public void testPropagateIfPossible_oneDeclared_unchecked() {
        assertThrows(
            SomeUncheckedException.class,
            () -> propagateIfPossible(new SomeUncheckedException(), SomeCheckedException.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // propagateIfInstanceOf
      public static <X extends Throwable> void propagateIfPossible(
          @CheckForNull Throwable throwable, Class<X> declaredType) throws X {
        propagateIfInstanceOf(throwable, declaredType);
        propagateIfPossible(throwable);
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top