Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 2,324 for exception (0.04 sec)

  1. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
            assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/Handler.java

                        } catch (final Exception ex) {
                            log.debug("Failed to initialize handler " + className, ex);
                        }
                        if (handler != null) {
                            break;
                        }
                    }
                }
                if (handler == null) {
                    throw new IOException("Unable to find default handler for protocol: " + protocol);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                        throw new RuntimeException("Test exception");
                    }
                    return createMockRescorerBuilder();
                }
            };
    
            // Test normal case
            Map<String, Object> normalParams = new HashMap<>();
            normalParams.put("normal", "value");
            assertNotNull(queryRescorer.evaluate(normalParams));
    
            // Test exception case
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * should cause {@link #run()} to return.
       */
      protected abstract void run() throws Exception;
    
      /**
       * Stop the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      // TODO: consider supporting a TearDownTestCase-like API
      protected void shutDown() throws Exception {}
    
      /**
       * Invoked to request the service to stop.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.TimeUnit;
    import java.util.function.Consumer;
    
    import org.codelibs.core.exception.InterruptedRuntimeException;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * <p>
     *   Deferred is a class that represents a deferred computation.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                                logger.debug("{}: {}", filePath.getFileName(), len);
                            }
                        } catch (final IOException e) {
                            logger.warn("Failed to access {}", filePath, e);
                        }
                    });
                } catch (final Exception e) {
                    logger.warn("Failed to access log files.", e);
                }
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

    import org.codelibs.fess.app.service.ElevateWordService;
    import org.codelibs.fess.app.service.LabelTypeService;
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.helper.PermissionHelper;
    import org.codelibs.fess.helper.SuggestHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.opensearch.config.exentity.ElevateWord;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

    import java.util.Set;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CaseInsensitiveSetTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            final Set<String> set = new CaseInsensitiveSet();
            set.add("one");
            assertThat(set.contains("ONE"), is(true));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

     * @author Sven Mawson
     */
    @NullUnmarked
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
        Executor exec = newCachedThreadPool();
        CountDownLatch countDownLatch = new CountDownLatch(3);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top