Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for TransportException (0.09 sec)

  1. src/main/java/jcifs/util/transport/RequestTimeoutException.java

     * Indicates that a request could not be completed within the specified timeout period.
     *
     * @author mbechler
     */
    public class RequestTimeoutException extends TransportException {
    
        /**
         *
         */
        private static final long serialVersionUID = -8825922797594232534L;
    
        /**
         * Constructs a new RequestTimeoutException with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

     * Indicates that the connection could not be established within the specified timeout period.
     *
     * @author mbechler
     */
    public class ConnectionTimeoutException extends TransportException {
    
        /**
         *
         */
        private static final long serialVersionUID = 7327198103204592731L;
    
        /**
         * Constructs a new ConnectionTimeoutException with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
        protected static IOException seToIoe(final SmbException se) {
            IOException ioe = se;
            Throwable root = se.getCause();
            if (root instanceof TransportException) {
                ioe = (TransportException) root;
                root = ioe.getCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @throws IOException
         * @throws SmbException
         * @throws TransportException
         * @throws EOFException
         */
        private <T extends CommonServerMessageBlock & Response> T sendComTransaction(final CommonServerMessageBlockRequest request,
                final T response, final Set<RequestParam> params) throws IOException, SmbException, TransportException, EOFException {
            response.setCommand(request.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top