Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 324 for getMessages (2.81 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            try {
                errorConverter.init();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertEquals("Init failed", e.getMessage());
            }
        }
    
        @Test
        public void testConvertWithNormalText() throws IOException {
            // Test convert with normal text
            converter.init();
            String text = "hello world";
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. 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 thumbnail: id={}", id, e);
                }
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

            assertArgumentNotNull("zipFile", zipFile);
    
            try {
                zipFile.close();
            } catch (final IOException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/PingResponse.java

         */
        public String getClusterStatus() {
            return clusterStatus;
        }
    
        /**
         * Gets the message.
         *
         * @return the message
         */
        public String getMessage() {
            return message;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.4K bytes
    - Viewed (2)
  7. src/test/java/jcifs/netbios/NbtExceptionTest.java

            assertEquals(errorCode, exception.errorCode, "Error code should match the constructor argument");
            assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(),
                    "Exception message should match getErrorString output");
            assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/RequestParamTest.java

        void valueOfRejectsUnknownOrCaseMismatch(String badName) {
            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(badName));
            assertTrue(ex.getMessage().contains(badName), "Exception message should mention the bad name");
        }
    
        // Edge/Invalid: empty string is invalid for valueOf
        @ParameterizedTest
        @EmptySource
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            try {
                deferred.promise().getResponse(10, TimeUnit.SECONDS);
                fail();
            } catch (SuggesterException e) {
                assertEquals("An error occurred during the deferred computation.", e.getMessage());
            }
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

                        } catch (final UnsupportedExtractException e) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("{} does not support this data. {}", extractor.getClass().getName(), e.getMessage());
                            }
                        }
                    }
                    throw new ExtractException("Failed to extract the content using available extractors.");
                }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top