Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for connectWrapException (0.1 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. 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();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
Back to Top