Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 220 for setMessage (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                fail("Should throw exception for non-existent property");
            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
        // Test system property without prefix
        public void test_get_systemPropertyWithoutPrefix() {
            // Set system property without FESS_CONFIG_PREFIX
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
         * Returns the name of the argument.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            try {
                helper.init();
                assertNotNull(helper.duplicateHostList);
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_setDuplicateHostList() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
            List<DuplicateHost> testList = new ArrayList<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        public void test_getName() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test default name (null)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
        // Tests for the absence of a bug where logging while iterating over the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

                parser.parse(new InputSource(new StringReader(invalidXml)));
                fail("Should throw GsaConfigException");
            } catch (GsaConfigException e) {
                assertEquals("Failed to parse XML file.", e.getMessage());
            }
        }
    
        public void test_parseWithMalformedXml() {
            GsaConfigParser parser = new GsaConfigParser();
            String malformedXml = "<?xml version=\"1.0\"?><eef><unclosed>";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                assertTrue("Exception should be DictionaryException", e instanceof DictionaryException);
                assertTrue("Message should mention userDict file",
                        e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write"));
            } finally {
                // Ensure proper cleanup
                if (updater != null) {
                    try {
                        updater.close();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java

                queryCommand.execute(context, invalidQuery, 1.0f);
                fail();
            } catch (InvalidQueryException e) {
                // expected
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        public void test_convertTermRangeQuery_searchField_inclusive() throws Exception {
            QueryContext context = new QueryContext("test", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/CloseableUtil.java

            if (closeable == null) {
                return;
            }
            try {
                closeable.close();
            } catch (final IOException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * Closes a {@link Closeable} quietly, suppressing any {@link IOException}.
         *
         * @param closeable the closeable object
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
                return e.getMessage();
            }
        }
    
        /**
         * Gets the expiration time for thumbnails.
         *
         * @return the expiration time in milliseconds
         */
        public long getExpiry() {
            return expiry;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top