Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 148 of 148 for SmbException (0.18 seconds)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

         */
        static class TestSigningDigest extends SigningDigest {
            boolean called;
            int lastLength;
    
            TestSigningDigest() throws SmbException {
                super(new byte[16], false);
            }
    
            @Override
            void sign(byte[] data, int offset, int length, ServerMessageBlock request, ServerMessageBlock response) {
                called = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        void ensureOpen_whenClosed_throws() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\bar");
            handle.close();
            SmbException ex = assertThrows(SmbException.class, handle::ensureOpen);
            assertTrue(ex.getMessage().contains("Pipe handle already closed"));
        }
    
        @Test
        @DisplayName("sendrecv uses SMB2 ioctl when tree is SMB2")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.context.BaseContext;
    import jcifs.netbios.NbtAddress;
    import jcifs.smb.DfsReferral;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * This servlet may be used to "browse" the entire hierarchy of resources
     * on an SMB network like one might with Network Neighborhood or Windows
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    /**
     * Unit tests exercising {@link SmbComSessionSetupAndX}.  The class under test
     * contains several protected helper methods and a complex constructor
    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)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertFalse(file.exists(), "Non-existent file should not exist");
            assertThrows(SmbException.class, () -> file.length(), "Getting length of non-existent file should throw exception");
            assertThrows(SmbException.class, () -> file.getInputStream(), "Getting input stream of non-existent file should throw exception");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SmbException;
    import jcifs.util.Hexdump;
    
    /**
     * Base class for SMB2/SMB3 protocol messages.
     *
     * This abstract class provides common functionality for all SMB2/SMB3
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            case SMB_COM_NT_TRANSACT_SECONDARY -> "SMB_COM_NT_TRANSACT_SECONDARY";
            default -> "UNKNOWN";
            };
            final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode);
            return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

    import jcifs.internal.RequestWithPath;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SmbException;
    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    
    /**
     * Base class for all SMB1/CIFS protocol message blocks.
     * This abstract class provides the fundamental structure and common functionality for SMB1 request
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
Back to Top