Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,808 for try (0.01 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

            validateAttributes(form.attributes, v -> throwValidationError(v, this::asEditHtml));
            verifyToken(this::asEditHtml);
            getGroup(form).ifPresent(entity -> {
                try {
                    groupService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getRelatedQuery(form).ifPresent(entity -> {
                try {
                    relatedQueryService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          final Executor executor;
    
          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
    
          void execute() {
            try {
              executor.execute(runnable);
            } catch (RuntimeException e) {
              log.log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
                      + runnable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            FileOutputStream fos = null;
            try {
                fos = new FileOutputStream(propertiesFile);
                properties.store(fos, propertiesFile.getName());
            } catch (final IOException e) {
                throw new FileAccessException("ECL0112", new Object[] { propertiesFile.getAbsolutePath() }, e);
            } finally {
                if (fos != null) {
                    try {
                        fos.close();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(0, keyManager.getKeyCount(), "Should have no keys after close");
        }
    
        @Test
        public void testAutoCloseable() throws Exception {
            try (SecureKeyManager manager = new SecureKeyManager()) {
                manager.storeSessionKey("auto-session", testKey, "AES");
                assertTrue(manager.hasSessionKey("auto-session"), "Key should exist");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LongAddables.java

     *
     * @author Louis Wasserman
     */
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractor.java

        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                @SuppressWarnings("resource")
                final org.apache.poi.hwpf.extractor.WordExtractor wordExtractor = new org.apache.poi.hwpf.extractor.WordExtractor(in);
                return new ExtractData(wordExtractor.getText());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                textExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

        public void test_addErrorsFrontHeader_nullProperty() {
            try {
                messages.addErrorsFrontHeader(null);
                fail("Should throw exception for null property");
            } catch (IllegalArgumentException e) {
                // Expected
            }
        }
    
        public void test_addConstraintsDecimalMaxMessage_nullProperty() {
            try {
                messages.addConstraintsDecimalMaxMessage(null, "100");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            append(buf, "load_averages", () -> osStats.getCpu().getLoadAverage());
            buf.append("},");
        }
    
        private void appendFesenStats(final StringBuilder buf) {
            String stats = null;
            try {
                final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient();
                final NodesStatsResponse response = esClient.admin().cluster().prepareNodesStats().all().execute().actionGet(10000L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top