Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 324 for getMessages (0.93 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            try {
                new TemporaryFileInputStream(nonExistentFile);
                fail("Should throw FileNotFoundException");
            } catch (IOException e) {
                // Expected
                assertTrue(e.getMessage().contains("non-existent-file"));
            }
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
                throwValidationErrorApi(messages -> messages.addErrorsResultSizeExceeded(GLOBAL));
            }
    
            return null;
        }
    
        // GET /api/admin/storage/download/{id}/
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

                FileUtil.readBytes(largeFile);
                fail("Expected IORuntimeException for large file");
            } catch (final IORuntimeException e) {
                assertTrue("Error message should mention file size", e.getMessage().contains("File too large"));
            }
        }
    
        /**
         * Test readBytes with file within size limit
         *
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            try {
                executeThumbnailGenerator();
            } catch (final Exception e) {
                logger.warn("Failed to generate thumbnails.", e);
                resultBuf.append(e.getMessage()).append("\n");
            } finally {
                if (timeoutTask != null && !timeoutTask.isCanceled()) {
                    timeoutTask.cancel();
                }
            }
    
            return resultBuf.toString();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

                            response.isReceived = true;
                            notifyAll();
                        }
                    }
                } catch (final Exception ex) {
                    final String msg = ex.getMessage();
                    final boolean timeout = msg != null && msg.equals("Read timed out");
                    /* If just a timeout, try to disconnect gracefully
                     */
                    final boolean hard = !timeout;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            IOException exception = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
    
            assertEquals("invalid session request wire format", exception.getMessage());
        }
    
        @ParameterizedTest
        @MethodSource("provideNamesForWriteTest")
        @DisplayName("writeTrailerWireFormat should handle various name combinations")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

                infoField.setAccessible(true);
                infoField.set(response, info);
            } catch (Exception e) {
                fail("Failed to set info field: " + e.getMessage());
            }
        }
    
        private void setDataCount(Trans2QueryFSInformationResponse response, int dataCount) {
            // Use the public setDataCount method from SmbComTransactionResponse
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                md4.update(password.getBytes(SmbConstants.UNI_ENCODING));
                return md4.digest();
            } catch (final UnsupportedEncodingException uee) {
                throw new RuntimeException(uee.getMessage());
            }
        }
    
        /**
         * Generates the NTOWFv2 hash for the given domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbException.java

         */
        static SmbException wrap(final CIFSException e) {
            if (e instanceof SmbException) {
                return (SmbException) e;
            }
            return new SmbException(e.getMessage(), e);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                logger.debug("[{}] Crawling Access Exception: url={}", failureUrlId, urlQueue.getUrl(), cae);
            } else if (cae.isInfoEnabled()) {
                logger.info("[{}] {}", failureUrlId, cae.getMessage());
            } else if (cae.isWarnEnabled()) {
                logger.warn("[{}] Crawling Access Exception: url={}", failureUrlId, urlQueue.getUrl(), cae);
            } else if (cae.isErrorEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top