Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,922 for Try (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            }
    
            List<Exception> exceptionList = null;
            try {
                int count = 0;
                while (count < maxRetryCount) {
                    if (listener != null) {
                        listener.onRequest(this, request, count);
                    }
    
                    try {
                        return client.execute(request);
                    } catch (final MaxLengthExceededException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SambaHelper.java

            }
            fessConfig = ComponentUtil.getFessConfig();
        }
    
        public String getAccountId(final SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:58:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertTrue(content.contains("テキスト"));
        }
    
        public void test_getText_maxSize() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/tar/test.tar")) {
                tarExtractor.setMaxContentSize(100);
                tarExtractor.getText(in, null);
                fail();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      private void reallyTestEmpty(CharMatcher matcher) throws Exception {
        assertEquals(-1, matcher.indexIn(""));
        assertEquals(-1, matcher.indexIn("", 0));
        try {
          matcher.indexIn("", 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn("", -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals(-1, matcher.lastIndexIn(""));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CharMatcherTest.java

      private void reallyTestEmpty(CharMatcher matcher) throws Exception {
        assertEquals(-1, matcher.indexIn(""));
        assertEquals(-1, matcher.indexIn("", 0));
        try {
          matcher.indexIn("", 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn("", -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals(-1, matcher.lastIndexIn(""));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final FileConfig fileConfig = getFileConfig(body).map(entity -> {
                try {
                    fileConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
                    CopyUtil.copy(is, os);
                } catch (final IOException e) {
                    throw new CrawlerSystemException("Could not store " + file.getAbsolutePath(), e);
                }
            }
            try {
                resultData.setData(path.getBytes(charsetName));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            CrawlingInfo crawlingInfo = create ? null : getCrawlingInfoService().getLast(sessionId);
            if (crawlingInfo == null) {
                crawlingInfo = new CrawlingInfo(sessionId);
                try {
                    getCrawlingInfoService().store(crawlingInfo);
                } catch (final Exception e) {
                    throw new FessSystemException("No crawling session.", e);
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top