Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,175 for catch (0.03 sec)

  1. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        }
    
        public void start() {
            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        public void stop() {
            try {
                server.stop();
                server.join();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            } catch (final Exception e) {
                throw new FessSystemException("Failed to parse project.properties.", e);
            }
        }
    
        @PreDestroy
        public void destroy() {
            shutdownHookList.forEach(action -> {
                try {
                    action.run();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
      private static boolean isEqualsDefined(Class<?> cls) {
        try {
          return !cls.getDeclaredMethod("equals", Object.class).isSynthetic();
        } catch (NoSuchMethodException e) {
          return false;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            for (Repository modelRepository : model.getRepositories()) {
                try {
                    pomRepositories.add(MavenRepositorySystem.buildArtifactRepository(modelRepository));
                } catch (InvalidRepositoryException e) {
                    // can not use this then
                }
            }
            mavenRepositorySystem.injectMirror(repositorySession, pomRepositories);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

            try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) {
                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
                }
                return new ByteArrayOutputStream();
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

                lhaExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            lhaExtractor.setMaxContentSize(-1);
        }
    
        public void test_getText_null() {
            try {
                lhaExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

            body.crudMode = CrudMode.CREATE;
            final DataConfig dataConfig = getDataConfig(body).map(entity -> {
                try {
                    dataConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

            final DOMParser parser = getDomParser();
            try (final Reader reader = new StringReader(content)) {
                parser.parse(new InputSource(reader));
            } catch (final Exception e) {
                logger.warn("Failed to parse the content.", e);
                return new ExtractData(extractString(content));
            }
    
            final Document document = parser.getDocument();
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                return new ExtractData(buf.toString().replaceAll("\\s+", " ").trim());
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    
        protected XPathAPI getXPathAPI() {
            try {
                return xpathAPICache.get(Thread.currentThread().getName());
            } catch (final ExecutionException e) {
                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

                    return redirect(getClass()); // no-op
                }
                String line;
                while ((line = ReaderUtil.readLine(reader)) != null) {
                    buf.append(line);
                }
            } catch (final Exception e) {
                throwValidationError(messages -> messages.addErrorsFailedToReadRequestFile(GLOBAL, e.getMessage()),
                        () -> asListHtml(this::saveToken));
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top