Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for FessSystemException (0.1 seconds)

  1. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

        }
    
        @Test
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and null cause
            SearchQueryException exception = new SearchQueryException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof FessSystemException);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("Invalid time format: 12. Expected format: HH:MM", e.getMessage());
            }
    
            try {
                IntervalControlHelper.parseTime("12:30:45");
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        @Test
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class FessSystemException
            String expectedMessage = "Caught as FessSystemException";
    
            try {
                throw new ResultOffsetExceededException(expectedMessage);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse(".css-only");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

         * @return an array containing [hour, minute]
         * @throws FessSystemException if the time format is invalid
         */
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid time format: " + time + ". Expected format: HH:MM");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.security.MessageDigestUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.service.CrawlingInfoService;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.opensearch.config.exentity.CrawlingConfig;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         *
         * @param crawlingInfo the crawling information entity to prepare for storage
         * @throws FessSystemException if the crawling information is null
         */
        protected void setupStoreCondition(final CrawlingInfo crawlingInfo) {
            if (crawlingInfo == null) {
                throw new FessSystemException("Crawling Session is null.");
            }
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            // Test that InvalidAccessTokenException is properly inherited from FessSystemException
            String type = "SessionToken";
            String message = "Session expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    if (!baseDir.isDirectory()) {
                        throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
                    }
                }
            };
            try {
                manager.init();
                fail();
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Not found"));
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        @Test
        public void test_instanceOfFessSystemException() {
            // Test that ContainerNotAvailableException is an instance of FessSystemException
            ContainerNotAvailableException exception = new ContainerNotAvailableException("test");
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void test_serialVersionUID() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top