Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for RuntimeCIFSException (0.38 sec)

  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() {
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (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
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. 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.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/StringsTest.java

            @Test
            @DisplayName("getOEMBytes should throw RuntimeCIFSException for unsupported encoding")
            void testGetOEMBytesWithUnsupportedEncoding() {
                // Given
                Configuration mockConfig = mock(Configuration.class);
                when(mockConfig.getOemEncoding()).thenReturn("INVALID-ENCODING");
    
                // When & Then
                RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. 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;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.trans.nt;
    
    import java.io.IOException;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response for SMB1 NT Transaction security descriptor query.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top