Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 612 for getMessages (0.08 seconds)

  1. src/test/java/jcifs/SmbSessionTest.java

                Exception thrownException = assertThrows(Exception.class, mockSession::close, "close() should propagate exceptions");
                assertEquals("Test close exception", thrownException.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Configuration Access Tests")
        class ConfigurationAccessTest {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                IllegalStateException exception = assertThrows(IllegalStateException.class, () -> {
                    testRequest.encode(buffer, 0);
                });
    
                assertTrue(exception.getMessage().contains("Wrong size calculation"));
            }
        }
    
        // Test implementation classes
        private static class TestServerMessageBlock2Request extends ServerMessageBlock2Request<TestServerMessageBlock2Response> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. README.md

                System.out.println("Async suggestion: " + item.getText()[0])
            );
        })
        .error(throwable -> {
            // Handle error
            System.err.println("Error: " + throwable.getMessage());
        });
    ```
    
    ## Advanced Usage
    
    ### Index from Existing Documents
    
    ```java
    import org.codelibs.fess.suggest.index.contents.document.ESSourceReader;
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        boolean hasCapability(final int cap) throws SmbException {
            try {
                connect(RESPONSE_TIMEOUT);
            } catch (final IOException ioe) {
                throw new SmbException(ioe.getMessage(), ioe);
            }
            return (capabilities & cap) == cap;
        }
    
        boolean isSignatureSetupRequired(final NtlmPasswordAuthentication auth) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                            final List<Map<String, String>> langItems = new ArrayList<>(supportedLanguages.length);
                            final String msg = ComponentUtil.getMessageManager().getMessage(displayLocale, "labels.allLanguages");
                            final Map<String, String> defaultMap = new HashMap<>(2);
                            defaultMap.put(Constants.ITEM_LABEL, msg);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  6. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. 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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                        }
                    } else {
                        logger.warn("Failed to access Web API.", e);
                    }
                    message = e.getMessage();
                } else {
                    final String errorCode = UUID.randomUUID().toString();
                    message = "[" + errorCode + "] Failed to access to Web API.";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    writeSecurityBuffer(type2, 40, data + target.length, targetInformation);
                }
                return type2;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        public String toString() {
            final String target = getTarget();
            final byte[] challenge = getChallenge();
            final byte[] context = getContext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top