Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getErrorData (0.18 seconds)

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

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         * Gets the error data associated with this message.
         *
         * @return the errorData
         */
        public final byte[] getErrorData() {
            return this.errorData;
        }
    
        /**
         * Gets the error context count for this message.
         *
         * @return the errorContextCount
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertNotNull(resp.getErrorData(), "Error data should be decoded");
            assertEquals(3, resp.getErrorData().length);
            assertEquals(2, resp.getErrorContextCount());
            assertArrayEquals(new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }, resp.getErrorData());
        }
    
        @Test
        void throwsOnUnexpectedStructureSize() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // When error path is taken, no blob should be parsed
            assertNull(resp.getBlob(), "Blob should be null on error path");
            assertNotNull(resp.getErrorData(), "Error data should be present");
            assertArrayEquals(err, resp.getErrorData());
        }
    
        @Test
        @DisplayName("Invalid structure size should throw during decode")
        void testInvalidStructureSizeThrows() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top