Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 168 for CIFSException (0.08 seconds)

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

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    /**
     * Tests for SmbRenewableCredentials interface.
     *
     * Since this file is an interface with a single method, we provide small
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.InOrder;
    import org.mockito.Mock;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.internal.smb1.trans.TransPeekNamedPipe;
    import jcifs.internal.smb1.trans.TransPeekNamedPipeResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            setInfoField(response, allocation);
    
            // Try to get as FileFsSizeInformation (incompatible)
            assertThrows(CIFSException.class, () -> {
                response.getInfo(FileFsSizeInformation.class);
            });
        }
    
        @Test
        void testGetInfoWithClass_BaseClass() throws CIFSException {
            // Test getInfo with base class
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/ShareEnumIterator.java

     */
    package jcifs.smb;
    
    import java.net.MalformedURLException;
    import java.util.Iterator;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    
    class ShareEnumIterator implements CloseableIterator<SmbResource> {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @param preauthHash the pre-authentication integrity hash (SMB 3.1.1 only)
         * @return encryption context
         * @throws CIFSException if encryption is not supported or fails
         */
        Smb2EncryptionContext createEncryptionContext(final byte[] sessionKey, final byte[] preauthHash) throws CIFSException {
            if (!this.smb2 || this.negotiated == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/netbios/NbtException.java

     */
    
    package jcifs.netbios;
    
    import jcifs.CIFSException;
    
    /**
     * NetBIOS exception class for NBT-related errors.
     *
     * This exception encapsulates NetBIOS name service and session service errors
     * with specific error classes and codes.
     */
    public class NbtException extends CIFSException {
    
        /**
         *
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

    import static org.mockito.Mockito.when;
    
    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.config.PropertyConfiguration;
    import jcifs.internal.smb1.SMB1SigningDigest;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.config.PropertyConfiguration;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (1)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(l3.hasNextAddress());
    
            // UnknownHostException yields CIFSException
            when(nsc.getAllByName("badhost", true)).thenThrow(new UnknownHostException("nope"));
            SmbResourceLocatorImpl bad = locator("smb://badhost/");
            CIFSException ex = assertThrows(CIFSException.class, bad::getAddress);
            assertTrue(ex.getMessage().contains("Failed to lookup address"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top