Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for RuntimeCIFSException (0.26 sec)

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

            c.release();
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("release below zero throws RuntimeCIFSException")
        void release_belowZero_throws() {
            SmbTreeConnection c = newConn();
            RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release);
            assertTrue(ex.getMessage().toLowerCase().contains("usage count"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        }
    
        @Test
        @DisplayName("Invalid path triggers RuntimeCIFSException during canonicalize")
        void testCanonicalizeInvalidPath() {
            SmbResourceLocatorImpl a = locator("smb:invalid-no-slash");
            // Any accessor that triggers canonicalizePath should throw
            assertThrows(RuntimeCIFSException.class, a::getURLPath);
            assertThrows(RuntimeCIFSException.class, a::getUNCPath);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.DialectVersion;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbTree;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.RequestWithPath;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    import jcifs.CIFSContext;
    import jcifs.NameServiceClient;
    import jcifs.RuntimeCIFSException;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

    import java.util.Set;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbTreeHandle;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SmbNegotiationResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

    package jcifs;
    
    /**
     * Runtime exception indicating that the JDK does not support the cryptographic primitives that we use.
     *
     * @author mbechler
     *
     */
    public class CIFSUnsupportedCryptoException extends RuntimeCIFSException {
    
        /**
         *
         */
        private static final long serialVersionUID = -6350312430383107348L;
    
        /**
         * Constructs a CIFS unsupported crypto exception with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/TransportTest.java

    import java.io.InputStream;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    import jcifs.RuntimeCIFSException;
    
    /**
     * Optimized test for Transport class focusing on core functionality
     * with fast execution and comprehensive coverage of key behaviors.
     */
    class TransportTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.smb2.Smb2EncryptionContext;
    import jcifs.internal.smb2.session.Smb2SessionSetupResponse;
    
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import javax.net.ssl.SSLSocketFactory;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.RuntimeCIFSException;
    import jcifs.ntlmssp.NtlmFlags;
    import jcifs.ntlmssp.NtlmMessage;
    import jcifs.ntlmssp.Type1Message;
    import jcifs.ntlmssp.Type2Message;
    import jcifs.ntlmssp.Type3Message;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/ReferralTest.java

                bb.putShort((short) 24);
                bb.putShort((short) 1);
                bb.putShort((short) 0);
    
                Referral ref = new Referral();
                RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> ref.decode(testBuffer, 0, testBuffer.length),
                        "Should have thrown exception for version " + version);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top