Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 170 for CIFSException (0.16 sec)

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

         */
        @Override
        public synchronized void close(final long lastWriteTime) throws CIFSException {
            closeInternal(lastWriteTime, true);
        }
    
        /**
         * @param lastWriteTime
         * @throws SmbException
         */
        void closeInternal(final long lastWriteTime, final boolean explicit) throws CIFSException {
            final SmbTreeHandleImpl t = this.tree;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

     */
    package jcifs.smb;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.internal.smb2.lease.DirectoryCacheScope;
    import jcifs.internal.smb2.lease.DirectoryLeaseManager;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.lease.Smb2LeaseState;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

     */
    package jcifs.smb;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.smb1.com.SmbComSetInformation;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                this.fp = 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ResourceFilter.java

         *
         * @param resource the SMB resource to test
         * @return whether the given resource should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource resource) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            }
    
            @Test
            @DisplayName("Should propagate CIFSException when getting session key")
            void testGetSessionKey_ThrowsCIFSException() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                CIFSException exception = new CIFSException("Test exception");
                when(mockSmbPipeHandleInternal.getSessionKey()).thenThrow(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.ndr;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when an error occurs during NDR encoding or decoding operations.
     */
    public class NdrException extends CIFSException {
    
        /**
         *
         */
        private static final long serialVersionUID = 7621650016319792189L;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (1)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("calculateMIC wraps GSSException into CIFSException")
        void calculateMIC_failure_wraps() throws Exception {
            byte[] data = new byte[] { 0 };
            when(gssContext.getMIC(any(), anyInt(), anyInt(), any())).thenThrow(new GSSException(GSSException.FAILURE));
    
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(data));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/Kerb5Context.java

         * {@inheritDoc}
         *
         * @throws CIFSException
         *
         * @see jcifs.smb.SSPContext#calculateMIC(byte[])
         */
        @Override
        public byte[] calculateMIC(byte[] data) throws CIFSException {
            try {
                return this.gssContext.getMIC(data, 0, data.length, new MessageProp(false));
            } catch (GSSException e) {
                throw new CIFSException("Failed to calculate MIC", e);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @param rn the referral number
         * @return dfs referral
         * @throws SmbException if an SMB error occurs
         * @throws CIFSException if a CIFS error occurs
         */
        DfsReferralData getDfsReferrals(CIFSContext ctx, String name, String targetHost, String targetDomain, int rn) throws CIFSException;
    
        /**
         * Checks if message signing is supported but not mandatory.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top