Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 469 for setMessage (0.06 sec)

  1. 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)
  2. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            IOException thrown = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(mockInputStream, buffer, 0);
            });
            assertTrue(thrown.getMessage().contains("unexpected EOF reading netbios retarget session response"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                if (logger.isInfoEnabled()) {
                    final StringBuilder buf = new StringBuilder(100);
                    buf.append(e.getMessage());
                    if (e.getCause() != null) {
                        buf.append(e.getCause().getMessage());
                    }
                    logger.info(buf.toString());
                } else if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
            fileTypeHelper.add("application/pdf", "pdf");
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

            } catch (final IOException e) {
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(e.getMessage()));
            }
            return buf;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                // Some invalid queries might be handled gracefully
            } catch (InvalidQueryException e) {
                // This is expected for malformed queries
                assertNotNull(e.getMessage());
                assertTrue(e.getMessage().contains("Invalid query"));
            }
        }
    
        public void test_build_emptyQuery() {
            QueryContext context = queryHelper.build(SearchRequestType.SEARCH, "", ctx -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                long actualInterval = (Long) field.get(dataIndexHelper);
                assertEquals(interval, actualInterval);
            } catch (Exception e) {
                fail("Failed to verify crawlingExecutionInterval: " + e.getMessage());
            }
        }
    
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY; // Use normal priority for tests
            dataIndexHelper.setCrawlerPriority(priority);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. 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)
Back to top