- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for DcerpcException (0.11 sec)
-
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} throw new DcerpcException("DCERPC transport not supported: " + url); } /** * Bind the handle * * @throws DcerpcException * if there is a DCE/RPC protocol error * @throws IOException * if there is an I/O error during binding */ public void bind() throws DcerpcException, IOException { synchronized (this) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
"proto:[endpoint=]" }) void testParseInvalidBindingUrls(String url) { // When/Then: Should throw DcerpcException for invalid URLs assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding(url)); } @Test @DisplayName("Should handle binding URLs without endpoints correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
class ConstructorTests { @Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false), "Should throw DcerpcException for invalid protocol"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
throw new DcerpcException("DCERPC transport not supported: " + url); } /** * Binds this handle to the remote DCERPC endpoint * @throws DcerpcException if the bind operation fails * @throws IOException if an I/O error occurs */ public void bind() throws DcerpcException, IOException { synchronized (this) { try { state = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
void testGetResultSuccess() throws Exception { // Given setResultField(bind, 0); // When DcerpcException result = bind.getResult(); // Then assertNull(result, "Should return null for successful result (0)"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
import jcifs.CloseableIterator; import jcifs.ResourceFilter; import jcifs.ResourceNameFilter; import jcifs.SmbConstants; import jcifs.SmbResource; import jcifs.SmbResourceLocator; import jcifs.dcerpc.DcerpcException; import jcifs.dcerpc.DcerpcHandle; import jcifs.dcerpc.msrpc.MsrpcDfsRootEnum; import jcifs.dcerpc.msrpc.MsrpcShareEnum; import jcifs.internal.smb1.net.NetShareEnum; import jcifs.internal.smb1.net.NetShareEnumResponse;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
assertNull(message.getResult()); } @Test @DisplayName("getResult should return DcerpcException for non-zero result") void testGetResultError() { message.result = 123; // Example error code DcerpcException exception = message.getResult(); assertNotNull(exception); assertEquals(123, exception.getErrorCode()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0)