Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 35 for RuntimeCIFSException (0.1 seconds)

  1. 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.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (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
    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)
  3. src/main/java/jcifs/internal/dfs/Referral.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.dfs;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import jcifs.Decodable;
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.smb1.trans2.Trans2GetDfsReferralResponse;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Strings;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (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.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Test multiple releases (should not throw)
            assertThrows(RuntimeException.class, () -> session.release(), "Additional release should throw RuntimeCIFSException");
        }
    
        /**
         * Test tree creation and cleanup
         */
        @Test
        @Timeout(5)
        public void testTreeManagement() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  8. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            assertDoesNotThrow(trace::checkRelease);
            verify(trace, atLeastOnce()).isConnected();
        }
    
        @Test
        @DisplayName("release() below zero usage throws RuntimeCIFSException")
        void release_withoutAcquire_throwsRuntimeCIFSException() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top