Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 170 for CIFSException (0.15 sec)

  1. src/main/java/jcifs/SmbResource.java

         *         <code>false</code> otherwise
         * @throws CIFSException if an error occurs accessing the resource
         */
        boolean exists() throws CIFSException;
    
        /**
         * Fetch a child resource
         *
         * @param name the name of the child resource to resolve
         * @return the child resource
         * @throws CIFSException if an error occurs accessing the resource
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  2. src/test/java/jcifs/SmbTreeHandleTest.java

         * Test for getOEMDomainName() method throwing CIFSException.
         * @throws CIFSException
         */
        @Test
        void testGetOEMDomainName_throwsCIFSException() throws CIFSException {
            when(smbTreeHandle.getOEMDomainName()).thenThrow(new CIFSException("Test Exception"));
            assertThrows(CIFSException.class, () -> smbTreeHandle.getOEMDomainName(), "getOEMDomainName() should throw CIFSException");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbWatchHandle.java

         *
         * @return changes since the last invocation
         * @throws CIFSException if an error occurs retrieving file notifications
         */
        List<FileNotifyInformation> watch() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.concurrent.Callable#call()
         */
        @Override
        List<FileNotifyInformation> call() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Invalid offset")).when(sidResolver)
                    .resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), eq(-1), anyInt());
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(mockContext, testServerName, testSids, -1, 2));
        }
    
        @Test
        void testResolveSidsWithOffsetAndLength_InvalidLength() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.io.IOException;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbPipeHandle;
    import jcifs.SmbPipeResource;
    import jcifs.internal.smb1.trans.TransCallNamedPipe;
    import jcifs.internal.smb1.trans.TransCallNamedPipeResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SSPContextTest.java

                byte[] buf = new byte[] { 1, 2, 3 };
                assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, -1, 1));
                assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 0, -1));
                assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 3, 1));
                assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 2, 2));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         */
        int getReceiveBufferSize() throws CIFSException;
    
        /**
         * Gets the maximum buffer size supported by the server
         * @return the maximum buffer size reported by the server
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getMaximumBufferSize() throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        @Test
        @DisplayName("ensureDFSResolved(): throws CIFSException when underlying call fails")
        void ensureDFSResolved_throws() throws Exception {
            // Arrange: configure the mock to throw
            doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved();
    
            // Act + Assert: exception is propagated with message
            CIFSException ex = assertThrows(CIFSException.class, () -> handle.ensureDFSResolved());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(1, existsExceptions.length, "exists() should declare CIFSException");
                assertEquals(CIFSException.class, existsExceptions[0], "Should declare CIFSException");
                assertEquals(1, getTypeExceptions.length, "getType() should declare CIFSException");
                assertEquals(CIFSException.class, getTypeExceptions[0], "Should declare CIFSException");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPairs.java

        }
    
        /**
         * Decode a list of AvPairs
         *
         * @param data the encoded AV pairs data
         * @return individual pairs
         * @throws CIFSException if decoding fails
         */
        public static List<AvPair> decode(final byte[] data) throws CIFSException {
            final List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while (pos + 4 <= data.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top