Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                return result;
            } catch (final Exception e) {
                // Clear sensitive data on error
                if (e instanceof CIFSException) {
                    throw (CIFSException) e;
                }
                throw new CIFSException("Failed to encrypt message", e);
            }
        }
    
        /**
         * Validate encryption parameters to prevent security issues
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws CIFSException if an error occurs while opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (1)
  5. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
    
            // Assert - type hierarchy: subclass of CIFSException and IOException
            assertTrue(ex instanceof jcifs.CIFSException, "Should extend CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException (checked)");
        }
    
        @ParameterizedTest(name = "Message-only ctor preserves message: [{0}]")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/AbstractCIFSContext.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.context;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType;
    
    /**
     * Abstract base implementation of CIFSContext providing common functionality.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            byte[] buffer = createMockFileBasicInfoBuffer();
            response.setDataCount(buffer.length);
            response.readDataWireFormat(buffer, 0, buffer.length);
    
            CIFSException exception = assertThrows(CIFSException.class, () -> {
                response.getInfo(FileInternalInfo.class);
            });
    
            assertEquals("Incompatible file information class", exception.getMessage());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top