Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for propagated (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *
     * Other exception types cancel the current call:
     *
     *  * For synchronous calls made with [Call.execute], the exception is propagated to the caller.
     *
     *  * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller
     *    indicating that the call was canceled. The interceptor's exception is delivered to the current
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

        return nonNull;
      }
    
      /**
       * Creates a {@link FutureCombiner} that processes the completed futures whether or not they're
       * successful.
       *
       * <p>Any failures from the input futures will not be propagated to the returned future.
       *
       * @since 20.0
       */
      @SafeVarargs
      public static <V extends @Nullable Object> FutureCombiner<V> whenAllComplete(
          ListenableFuture<? extends V>... futures) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

              executionThread.start();
            }
          };
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
        assertWithMessage("exceptions should not be propagated to uncaught exception handlers")
            .that(thrownByExecutionThread)
            .isNull();
      }
    
      public void testServiceStartStop() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

              executionThread.start();
            }
          };
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
        assertWithMessage("exceptions should not be propagated to uncaught exception handlers")
            .that(thrownByExecutionThread)
            .isNull();
      }
    
      public void testServiceStartStop() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>If the call {@code setFuture(delegate)} is accepted and this {@code Future} is later
       * cancelled, cancellation will be propagated to {@code delegate}. Additionally, any call to
       * {@code setFuture} after any cancellation will propagate cancellation to the supplied {@code
       * Future}.
       *
       * <p>Note that, even if the supplied future is cancelled and it causes this future to complete,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertNotNull(groovyEngine.evaluate("return container", null));
        }
    
        // ===== Exception Handling Tests =====
    
        /**
         * Test that JobProcessingException is propagated
         */
        @Test
        public void test_evaluate_jobProcessingExceptionPropagates() {
            final Map<String, Object> params = new HashMap<>();
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            });
            try {
                systemHelper.destroy();
                assertTrue(true);
            } catch (Exception e) {
                fail("Exception should be caught and not propagated");
            }
        }
    
        @Test
        public void test_getHelpUrl() {
            getMockRequest().setLocale(Locale.ENGLISH);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_unchecked() {
        assertThrows(SomeUncheckedException.class, () -> propagate(new SomeUncheckedException()));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_error() {
        assertThrows(SomeError.class, () -> propagate(new SomeError()));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_unchecked() {
        assertThrows(SomeUncheckedException.class, () -> propagate(new SomeUncheckedException()));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_error() {
        assertThrows(SomeError.class, () -> propagate(new SomeError()));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        Runnable bad =
            () -> {
              throw new BadRunnableException();
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
      public void testMisbehavingListenerLaterDone() {
        class BadRunnableException extends RuntimeException {}
    
        CountingRunnable before = new CountingRunnable();
        Runnable bad =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top