Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 170 for CIFSException (0.07 sec)

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

                final T response, final Set<RequestParam> params) throws CIFSException {
            CIFSException last = null;
            final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null;
            final String savedPath = rpath != null ? rpath.getPath() : null;
            final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    import jcifs.config.PropertyConfiguration;
    
    /**
     * Test RDMA configuration properties
     */
    public class RdmaConfigurationTest {
    
        @Test
        public void testDefaultRdmaConfiguration() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/main/java/jcifs/smb/NetServerEnumIterator.java

         * @param filter
         *            optional resource name filter
         * @throws CIFSException
         *            if enumeration fails
         */
        public NetServerEnumIterator(final SmbFile parent, final SmbTreeHandleImpl th, final String wildcard, final int searchAttributes,
                final ResourceNameFilter filter) throws CIFSException {
            this.parent = parent;
            this.nameFilter = filter;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

         * @return the Type 3 message to send to the server
         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws CIFSException if a CIFS protocol error occurs
         */
        protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException {
            if (this.auth instanceof NtlmNtHashAuthenticator) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextWrapper.java

            this.delegate = delegate;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if the URL is malformed or there is an error creating the SMB resource
         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
            } catch (final MalformedURLException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                final ResourceNameFilter filter, final int searchAttributes) throws CIFSException {
            super(th, parent, wildcard, filter, searchAttributes);
        }
    
        @SuppressWarnings("resource")
        @Override
        protected final FileEntry open() throws CIFSException {
            final SmbResourceLocator loc = this.getParent().getLocator();
            final String unc = loc.getUNCPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. 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)
Back to top