Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for TransportException (0.83 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbTransport;
    import jcifs.SmbTransportPool;
    import jcifs.util.transport.TransportException;
    
    /**
     * Implementation of the SMB transport pool for managing SMB connections.
     * Provides connection pooling and reuse for improved performance.
     *
     * @author mbechler
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

    import jcifs.smb1.util.LogStream;
    import jcifs.smb1.util.transport.Request;
    import jcifs.smb1.util.transport.Response;
    import jcifs.smb1.util.transport.Transport;
    import jcifs.smb1.util.transport.TransportException;
    
    /**
     * Legacy SMB transport implementation for SMB1 protocol communication.
     * Handles the low-level transport layer for SMB1 protocol messages.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            @Test
            @DisplayName("seToIoe maps Interrupted cause to InterruptedIOException")
            void seToIoeInterruptedMapping() {
                SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom")));
                IOException ioe = SmbFileInputStream.seToIoe(se);
                assertTrue(ioe instanceof InterruptedIOException);
                assertTrue(ioe.getMessage().contains("boom"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Configure the tree to throw transport error on first call, succeed on second
            when(tree.send(eq(req), eq(resp), anySet()))
                    .thenThrow(new SmbException("transport error", new jcifs.util.transport.TransportException()))
                    .thenReturn(resp);
    
            setTree(c, tree);
    
            // Override connectHost to avoid actual network connection on retry
            doAnswer(invocation -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top