Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,947 for threw (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

                  throw InterruptedIOException()
                }
              },
            ).addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  Thread.sleep(networkInterceptorDelay)
                  return@Interceptor chain.proceed(chain.request())
                } catch (e: InterruptedException) {
                  throw InterruptedIOException()
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Object extraValue = new Object();
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) throws Exception {
                throw new AssertionError();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
                Map<Object, Object> result = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

            if (value == null) {
              value = currentValue;
              local = Optional.of(Charset.forName(value));
            } else if (!value.equals(currentValue)) {
              throw new IllegalStateException(
                  "Multiple charset values defined: " + value + ", " + currentValue);
            }
          }
          parsedCharset = local;
        }
        return local;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         */
        public int getFid() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
        public byte[] getFileId() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fileId;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                            builder.add(updateRequest);
                        }
    
                        return builder.execute();
                    });
                    if (bulkResponse.hasFailures()) {
                        throw new OpenSearchAccessException(bulkResponse.buildFailureMessage());
                    }
    
                    final String sid = scrollId;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                } catch (Exception e) {
                    // Expected due to missing dependencies in test environment
                    assertTrue(true);
                    return;
                }
                fail("Should throw NullPointerException");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        public void test_getBoostedDocumentList_noBoostList() {
            KeyMatch keyMatch = new KeyMatch();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    throw new UnsupportedOperationException("Cannot get available versions in this test case");
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                        Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should join multiple elements with delimiter")
        void testJoinMultipleElements() {
            String result = StringUtil.join(",", "one", "two", "three", "four");
            assertEquals("one,two,three,four", result);
        }
    
        @Test
        @DisplayName("Should join with empty string delimiter")
        void testJoinWithEmptyDelimiter() {
            String result = StringUtil.join("", "hello", "world");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        @Override
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            try {
                return includeFilterCache.get(sessionId);
            } catch (final ExecutionException e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        /**
         * Gets the list of exclude URL patterns for the specified session.
         *
         * @param sessionId The session ID.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

        if (!from.renameTo(to)) {
          copy(from, to);
          if (!from.delete()) {
            if (!to.delete()) {
              throw new IOException("Unable to delete " + to);
            }
            throw new IOException("Unable to delete " + from);
          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top