Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 28 for RuntimeCIFSException (0.27 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/RuntimeCIFSException.java

     *
     * @author mbechler
     *
     */
    public class RuntimeCIFSException extends RuntimeException {
    
        /**
         *
         */
        private static final long serialVersionUID = -2611196678846438579L;
    
        /**
         * Constructs a runtime CIFS exception with no detail message.
         */
        public RuntimeCIFSException() {
        }
    
        /**
    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/RuntimeCIFSExceptionTest.java

    /**
     * Test class for RuntimeCIFSException functionality
     */
    @DisplayName("RuntimeCIFSException Tests")
    class RuntimeCIFSExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create RuntimeCIFSException with default constructor")
        void testDefaultConstructor() {
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException();
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/Strings.java

    package jcifs.util;
    
    import java.io.UnsupportedEncodingException;
    import java.nio.charset.Charset;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    
    /**
     * Utility class for string manipulation and conversion operations in the jCIFS library.
     * Provides methods for encoding, decoding, and manipulating strings in SMB operations.
     *
     * @author mbechler
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Validates usage counting and that an extra release() throws RuntimeCIFSException
            // First close -> usage 1 -> 0, triggers treeConnection.release()
            handle.close();
            verify(treeConnection, times(1)).release();
    
            // Second release -> usage 0 -> -1 triggers RuntimeCIFSException
            RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            assertNull(exception.getCause(), "Default constructor should have null cause");
            assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException");
            assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException");
        }
    
        @Test
        @DisplayName("Message constructor should create exception with specified message")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

     */
    
    package jcifs.internal.smb1.com;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.SmbNegotiationRequest;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.util.Strings;
    
    /**
     * SMB1 Negotiate Protocol request message.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (3)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    } catch (final GeneralSecurityException e) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
                    this.passwordLength = this.password.length;
                } else if (this.ctx.getConfig().isDisablePlainTextPasswords()) {
                    throw new RuntimeCIFSException("Plain text passwords are disabled");
                } else {
                    // plain text
    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)
  8. 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)
  9. 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)
  10. 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)
Back to Top