Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 469 for getMessage (0.15 sec)

  1. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        public void test_init() {
            try {
                languageHelper.init();
                // Should not throw exception
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_updateDocument_withExistingLang() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("lang", "ja");
            doc.put("title", "タイトル");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. 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> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. 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;
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                try {
                    setupMinioClient(bucketName, endpoint);
                    break;
                } catch (final Exception e) {
                    logger.warn("[{}] {}", i + i, e.getMessage());
                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        private void setupMinioClient(String bucketName, String endpoint) throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                if (this.negotiated == null) {
                    connect(this.transportContext.getConfig().getResponseTimeout());
                }
            } catch (final IOException ioe) {
                throw new SmbException(ioe.getMessage(), ioe);
            }
            final SmbNegotiationResponse r = this.negotiated;
            if (r == null) {
                throw new SmbException("Connection did not complete, failed to get negotiation response");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

                                try {
                                    return "<<< " + new String(bytes, 0, len, encoding);
                                } catch (final Exception e) {
                                    return "<<< <" + e.getMessage() + ">";
                                }
                            });
                            dfos.write(bytes, 0, length);
                        }
                        length = bis.read(bytes);
                    }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

                ioe = (TransportException) root;
                root = ioe.getCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            timeout -= System.currentTimeMillis() - start;
                        }
    
                    } catch (final InterruptedException ie) {
                        throw new IOException(ie.getMessage());
                    } finally {
                        responseTable.remove(nid);
                    }
    
                    synchronized (LOCK) {
                        if (!NbtAddress.isWINS(request.addr)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top