Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 523 for getMessage (3.15 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

          Shorts.checkedCast(value);
          fail("Cast to short should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    index++;
                }
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (final Exception ex) {
                throw new IOException(ex.getMessage());
            }
        }
    
        private void doHandshake() throws IOException {
            connect();
            try {
                int response = parseResponseCode();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.setIndex(0);
            NdrException thrown = assertThrows(NdrException.class, () -> {
                ndrBuffer.dec_ndr_string();
            });
            assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage());
        }
    
        @Test
        void testEncNdrReferent() {
            Object obj1 = new Object();
            Object obj2 = new Object();
    
            // Test unique/ref type (type 1 or 3)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

                smbComTreeDisconnect = new SmbComTreeDisconnect(null);
            });
    
            // Verify the exception message indicates the config is null
            assertTrue(exception.getMessage().contains("config"));
        }
    
        /**
         * Test constructor with mock configuration
         */
        @Test
        @DisplayName("Test constructor with mock configuration")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> notification.readBytesWireFormat(buffer, 0));
    
                assertEquals("Expected structureSize = 24", exception.getMessage());
            }
    
            @ParameterizedTest
            @DisplayName("Should read different oplock levels correctly")
            @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top