Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 447 for getMessages (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                MalformedURLException ex =
                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
                logger.warn("Failed to process {}", id, e);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
            assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect"));
        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                // closing should null tmp; subsequent readDirect should fail
                in.close();
                IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4));
                assertTrue(ex.getMessage().contains("Bad file descriptor"));
            }
    
            @Test
            @DisplayName("available always returns 0")
            void availableAlwaysZero() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

        /**
         * Returns arguments of a message
         *
         * @return array of arguments
         */
        public Object[] getArgs() {
            return args;
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        /**
         * Returns a simple message without a message code.
         *
         * @return simple message without message code
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

            assertArgumentNotNull("zis", zis);
    
            try {
                zis.closeEntry();
            } catch (final IOException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top