Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 170 for CIFSException (0.24 sec)

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

                throws CIFSException {
            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response,
                final Set<RequestParam> params) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Unit tests for Multi-Channel configuration properties
     */
    class MultiChannelConfigurationTest {
    
        @Test
        void testDefaultMultiChannelSettings() throws CIFSException {
            PropertyConfiguration config = new PropertyConfiguration(new Properties());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeOutputStream.java

            return this.handle.isOpen();
        }
    
        @Override
        protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            return this.handle.ensureTreeConnected();
        }
    
        @Override
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            return this.handle.ensureOpen();
        }
    
        /**
         * Gets the pipe handle implementation for this output stream.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            assertTrue(reqCap.getValue() instanceof NtTransNotifyChange, "SMB1 notify request must be used");
        }
    
        // If a response is not marked as received, throw a CIFSException
        @Test
        @DisplayName("watch() throws CIFSException when response not received")
        void watch_responseNotReceived_throwsCIFSException() throws Exception {
            NotifyResponse resp = mock(NotifyResponse.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        }
    
        @Test
        @DisplayName("open() throwing CIFSException triggers close and rethrow")
        void constructorOpenThrows() {
            // Arrange
            stubAcquireReturnsSelf();
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] { entry("x") } });
    
            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/SingletonContext.java

         *
         * @param props the properties to use for initialization
         * @throws CIFSException if the singleton context is already initialized or there is an error during initialization
         */
        public static synchronized final void init(final Properties props) throws CIFSException {
            if (INSTANCE != null) {
                throw new CIFSException("Singleton context is already initialized");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testInitAlreadyInitializedThrowsException() throws CIFSException {
            // Test attempting to initialize when already initialized
            SingletonContext.init(null);
            CIFSException e = assertThrows(CIFSException.class, () -> SingletonContext.init(null));
            assertEquals("Singleton context is already initialized", e.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    }
                }
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        SmbFileOutputStream(final SmbFile file, final SmbTreeHandleImpl th, final SmbFileHandleImpl handle, final int openFlags,
                final int access, final int sharing) throws CIFSException {
            this.file = file;
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                }
                return 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws CIFSException
         * @throws SmbException
         */
        private AllocInfo fetchAllocationInfo(final SmbTreeHandleImpl th) throws CIFSException, SmbException {
            AllocInfo ai;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top