Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 2,175 for catch (0.04 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                        break;
                    default:
                        logger.error("Unknown thumbnail result: {} -> {}", thumbnailId, responseData.getUrl());
                        break;
                    }
                } catch (final Throwable t) {
                    logger.warn("Failed to create thumbnail: {} -> {} ({}:{})", thumbnailId, responseData.getUrl(),
                            t.getClass().getCanonicalName(), t.getMessage());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkTester.java

        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
        } catch (IOException e) {
          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            try {
                this.profileSelector = container.lookup(ProfileSelector.class);
                this.logger = ((MutablePlexusContainer) container).getLogger();
            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
            this.requestProperties = props;
        }
    
        public Properties getRequestProperties() {
            return requestProperties;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

                    Object p2 = prop.getReadMethod().invoke(m2);
                    if (!equalsDeep(p1, p2)) {
                        return false;
                    }
                }
                return true;
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[64], 0, -1);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

                }
              }
            };
        System.setSecurityManager(disallowFilesSecurityManager);
        try {
          file.exists();
          fail("Did not get expected SecurityException");
        } catch (SecurityException expected) {
        }
        ClassPath classPath = ClassPath.from(getClass().getClassLoader());
        // ClassPath may contain resources from the boot class loader; just not from the class path.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java

                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setVirtualHosts(toStringArray(source.get("virtualHosts")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                jodExtractor.getText(null, null);
                fail();
            } catch (CrawlerSystemException e) {
                // NOP
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    try {
                        list.add(new LabelTypePattern(labelType.getValue(), includedPaths, excludedPaths));
                    } catch (final Exception e) {
                        logger.warn("Failed to create a matching pattern of a label: {}, includedPaths:{}, excludedPaths:{}",
                                labelType.getValue(), includedPaths, excludedPaths, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                try {
                    processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP);
                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to print a thread dump.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToPrintThreadDump(GLOBAL), this::asListHtml);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top