Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 145 for caught (0.18 seconds)

  1. docs/changelogs/upgrading_to_okhttp_4.md

    The `okhttp3.internal` package is not a published API and we change it frequently without warning.
    Depending on code in this package is bad and will cause you problems with any upgrade! But the 4.x
    will be particularly painful to naughty developers that import from this package! We changed a lot
    to take advantage of sweet Kotlin features.
    
    #### Credentials.basic()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  2. docs/changelogs/changelog_2x.md

        reflected in `Response.networkResponse()`.
     *  Fix: Badly-behaving caches now throw a checked exception instead of a
        `NullPointerException`.
     *  Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.
    
    ## Version 2.3.0
    
    _2015-03-16_
    
     *  **HTTP/2 support.** We've done interop testing and haven't seen any
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        interceptorThrowsRuntimeExceptionAsynchronous(true)
      }
    
      /**
       * When an interceptor throws an unexpected exception, asynchronous calls are canceled. The
       * exception goes to the uncaught exception handler.
       */
      private fun interceptorThrowsRuntimeExceptionAsynchronous(network: Boolean) {
        val boom = RuntimeException("boom!")
        addInterceptor(network) { chain: Interceptor.Chain? -> throw boom }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(caughtUee).hasCauseThat().isSameInstanceAs(uee);
    
        ExecutionException caughtEe =
            assertThrows(ExecutionException.class, () -> cacheChecked.get(new Object()));
        assertThat(caughtEe).hasCauseThat().isSameInstanceAs(ee);
    
        caughtUee =
            assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        // Note that Firefox is fine with a sort function returning any positive or negative number, but Chrome
                        // requires 1 or -1 specifically and ignores higher or lower values.  This sort ought to remain consistent
                        // with the sort used by AbstractAcceptedApiChangesMaintenanceTask.
                        result.acceptedApiChanges.sort((a, b) => {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

      interface ItemReporter {
        String reportItem(Item<?> item);
      }
    
      /**
       * A word about using {@link Equivalence}, which automatically checks for {@code null} and
       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(caughtUee).hasCauseThat().isSameInstanceAs(uee);
    
        ExecutionException caughtEe =
            assertThrows(ExecutionException.class, () -> cacheChecked.get(new Object()));
        assertThat(caughtEe).hasCauseThat().isSameInstanceAs(ee);
    
        caughtUee =
            assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

        }
    
        /**
         * Looks up the method with specified name and signature in the first public
         * superclass or implemented interface of the class.
         *
         * @param clazz      the class whose method is sought
         * @param name       the name of the method
         * @param paramTypes the classes of method parameters
         */
        private static Method getPublicMethod(Class<?> clazz, String name, Class<?>... paramTypes) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top