Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for connectWrapException (0.06 sec)

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

                disconnect(true);
    
                try (SmbTreeHandle th = connectWrapException(loc)) {}
            }
    
            return loc;
        }
    
        private SmbResourceLocator resolveDfs0(final SmbResourceLocatorImpl loc, final RequestWithPath request) throws CIFSException {
            try (SmbTreeHandleImpl th = connectWrapException(loc);
                    SmbSessionImpl session = th.getSession();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            SmbException ex = assertThrows(SmbException.class, () -> c.hasCapability(1));
            assertTrue(ex.getMessage().contains("Not connected"));
        }
    
        @Test
        @DisplayName("connectWrapException wraps UnknownHostException and IOException")
        void connectWrapException_wraps_io_and_unkhost() throws Exception {
            // Subclass to control connect() behavior
    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