Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 469 for getMessage (0.42 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            for (int i = 0; i < 30; i++) {
                try {
                    smbClient.doGet(baseUrl);
                    break;
                } catch (final Exception e) {
                    logger.info("[{}] {}", i + i, e.getMessage());
                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

                }
    
                return normalized.toString();
    
            } catch (MalformedURLException e) {
                throw new SmbException("Invalid SMB URL format: " + e.getMessage());
            }
        }
    
        /**
         * Check if path contains traversal sequences
         */
        private boolean containsTraversal(String path) {
            // Check various forms of directory traversal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

            }
        }
        
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
            
            // Mark channel as failed
            failedChannel.setState(ChannelState.FAILED);
            
            // Get or create failover state
            FailoverState state = failoverStates.computeIfAbsent(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ShortsTest.java

          Shorts.checkedCast(value);
          fail("Cast to short should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            try {
                charMappingFile.update(updateItem2);
                fail("Should throw DictionaryException");
            } catch (DictionaryException e) {
                assertTrue(e.getMessage().contains("Mapping file was updated"));
            }
        }
    
        // Test reload with IOException
        public void test_reload_ioException() throws Exception {
            // This test verifies error handling during reload
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should handle empty notification list")
        void testEmptyNotificationList() throws Exception {
            // Given
            byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
                try {
                    log.debug("Waiting for transport");
                    transport.wait();
                } catch (final InterruptedException ie) {
                    throw new SmbException(ie.getMessage(), ie);
                }
            }
            return cs;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbTreeInternal#connectLogon(jcifs.CIFSContext)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

                fail("Should throw IllegalArgumentException for negative boost");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("negative [boost] are not allowed"));
            }
        }
    
        public void test_execute_multipleInvocations() {
            // Test that multiple invocations return consistent results
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. mockwebserver/api/mockwebserver3.api

    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelayNanos ()J
    	public final fun getInTunnel ()Z
    	public final fun getInformationalResponses ()Ljava/util/List;
    	public final fun getMessage ()Ljava/lang/String;
    	public final fun getOnRequestBody ()Lmockwebserver3/SocketEffect;
    	public final fun getOnRequestStart ()Lmockwebserver3/SocketEffect;
    	public final fun getOnResponseBody ()Lmockwebserver3/SocketEffect;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // When/Then: Should propagate IOException
                IOException thrown = assertThrows(IOException.class, () -> spyHandle.bind());
                assertEquals("Test IO Exception", thrown.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Send/Receive Tests")
        class SendReceiveTests {
    
            @Test
            @DisplayName("Should handle basic send/receive fragment methods")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top