Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,593 for scratch (0.04 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
          client1.newCall(request).execute().use { response ->
            println("Response 1 succeeded: $response")
          }
        } catch (e: IOException) {
          println("Response 1 failed: $e")
        }
    
        // Copy to customize OkHttp for this request.
        val client2 =
          client
            .newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            try {
                mavenPluginManager.checkPrerequisites(mojoDescriptor.getPluginDescriptor());
            } catch (PluginIncompatibleException e) {
                throw new LifecycleExecutionException(messageBuilderFactory, mojoExecution, session.getCurrentProject(), e);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    }
                    String message = sb.toString();
                    getLogger().error(message);
                    fw.println(message);
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

                intervalControlHelper.delayByRules();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to apply interval control rules", e);
                }
            }
    
            try {
                super.delayForWaitingNewUrl();
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    try {
                        startLatch.await();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
    
                    // wait for all thread to end
                    try {
                        endLatch.await();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentDifferentValue() {
        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          try {
            helper = new UnsafeAtomicHelper();
          } catch (Exception | Error unsafeFailure) { // sneaky checked exception
            thrownUnsafeFailure = unsafeFailure;
            // Catch absolutely everything and fall through to AtomicReferenceFieldUpdaterAtomicHelper.
            try {
              helper = new AtomicReferenceFieldUpdaterAtomicHelper();
            } catch (Exception // sneaky checked exception
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
                }
    
                this.fp = 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

         */
        public void test_ZipExtractor_nullInputStream_throwsWithMessage() {
            try {
                zipExtractor.getText(null, null);
                fail("Expected CrawlerSystemException");
            } catch (final CrawlerSystemException e) {
                assertEquals("The inputstream is null.", e.getMessage());
            }
        }
    
        /**
         * Test that TarExtractor handles null input stream with appropriate error message.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SecureCredentialStorage.java

                        throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage());
                    }
    
                } catch (DestroyFailedException e) {
                    // Re-throw DestroyFailedException as-is
                    throw e;
                } catch (Exception e) {
                    // For any other exception, wrap it
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top