- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 54 for NdrException (0.22 seconds)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java
*/ public static final String INVALID_CONFORMANCE = "invalid array conformance"; /** * Constructs an NdrException with the specified error message. * * @param msg the error message */ public NdrException(final String msg) { super(msg); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrException.java
*/ public static final String INVALID_CONFORMANCE = "invalid array conformance"; /** * Constructs an NdrException with the specified error message. * * @param msg the error message */ public NdrException(final String msg) { super(msg); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (1) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(this.netname, 1); if (this.netname != null) { _dst = _dst.deferred; _dst.enc_ndr_string(this.netname); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 27K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
when(mockDeferredBuffer.dec_ndr_long()).thenReturn(-1); // Invalid _name_buffers // When/Then: Should throw exception NdrException thrown = assertThrows(NdrException.class, () -> entry.decode(mockNdrBuffer)); assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage()); } } @Nested @DisplayName("SamrSamArray Tests") class SamrSamArrayTests {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; import jcifs.dcerpc.ndr.NdrLong; public class netdfsTest { private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { mockNdrBuffer = mock(NdrBuffer.class); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
* Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException."; NdrException exception = new NdrException(testMessage); assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /** * Test the NO_NULL_REF static field.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(this.entry_path, 1); if (this.entry_path != null) { _dst = _dst.deferred; _dst.enc_ndr_string(this.entry_path); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public void encode(final NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.length); _dst.enc_ndr_short(this.impersonation_level); _dst.enc_ndr_small(this.context_mode); _dst.enc_ndr_small(this.effective_only); } @Override public void decode(final NdrBuffer _src) throws NdrException { _src.align(4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (0)