Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 170 for CIFSException (1.42 sec)

  1. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        }
    
        @Test
        @DisplayName("send throws CIFSException for null request when implementation does")
        void send_nullRequest_throws() throws Exception {
            // Arrange
            when(tree.send(isNull())).thenThrow(new CIFSException("null request"));
    
            // Act
            CIFSException ex = assertThrows(CIFSException.class, () -> tree.send(null));
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.smb2.io.Smb2WriteResponse;
    
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeInputStream.java

         */
        SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException {
            super(handle.getPipe(), th, null);
            this.handle = handle;
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle implementation
         * @throws CIFSException if a connection error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbPipeHandle.java

         * @throws CIFSException if an error occurs getting the input stream
         */
        InputStream getInput() throws CIFSException;
    
        /**
         * Gets the output stream for writing to this pipe.
         *
         * @return this pipe's output stream
         * @throws CIFSException if an error occurs getting the output stream
         */
        OutputStream getOutput() throws CIFSException;
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertDoesNotThrow(creds::refresh);
        }
    
        @Test
        @DisplayName("refresh throws CIFSException when configured to fail")
        void refresh_failure_throws_cifs() {
            TestCredentials creds = new TestCredentials("Z", false, false, new Subject(), true);
            CIFSException ex = assertThrows(CIFSException.class, creds::refresh);
            assertTrue(ex.getMessage().contains("refresh failed"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         * @param searchAttributes the file attributes to search for
         * @throws CIFSException if an error occurs during initialization
         */
        public DirFileEntryEnumIterator2(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard,
                final ResourceNameFilter filter, final int searchAttributes) throws CIFSException {
            super(th, parent, wildcard, filter, searchAttributes);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.smb1.com.SmbComBlankResponse;
    import jcifs.internal.smb1.com.SmbComClose;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/SpnegoException.java

     */
    package jcifs.spnego;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown during SPNEGO authentication processing.
     *
     * This exception indicates an error in SPNEGO token processing,
     * negotiation, or authentication flow.
     *
     * @author mbechler
     */
    public class SpnegoException extends CIFSException {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbConnectionTest.java

         */
        @Test
        @DisplayName("getBatchLimit returns correct values for different SMB commands")
        public void testBatchLimitForDifferentCommands() throws CIFSException {
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useBatching", "true");
            props.setProperty("jcifs.smb.client.useUnicode", "true");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

            this.next = advance();
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() throws CIFSException {
            this.delegate.close();
        }
    
        @Override
        public void remove() {
            this.delegate.remove();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top