- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for DcerpcException (0.21 sec)
-
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/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
} } @Test void testConstructor_OtherDcerpcException() throws DcerpcException, IOException { // Test case: Constructor with other DcerpcException, should rethrow String server = "testServer"; int access = 123; DcerpcException expectedException = new DcerpcException("Other error") { @Override public int getErrorCode() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.msrpc; import java.io.IOException; import jcifs.dcerpc.DcerpcError; import jcifs.dcerpc.DcerpcException; import jcifs.dcerpc.DcerpcHandle; import jcifs.dcerpc.rpc; import jcifs.smb.SmbException; /** * Handle for Security Account Manager (SAM) policy operations.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K 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/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
* @throws MalformedURLException if the URL is malformed * @throws DcerpcException if DCERPC initialization fails */ public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth) throws UnknownHostException, MalformedURLException, DcerpcException { binding = DcerpcHandle.parseBinding(url);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
int minor; DcerpcBinding(final String proto, final String server) { this.proto = proto; this.server = server; } void setOption(final String key, final Object val) throws DcerpcException { if (key.equals("endpoint")) { endpoint = val.toString(); final String lep = endpoint.toLowerCase(); if (lep.startsWith("\\pipe\\")) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K 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/dcerpc/DcerpcMessage.java
this.flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception, if the call failed */ public DcerpcException getResult() { if (this.result != 0) { return new DcerpcException(this.result); } return null; } void encode_header(final NdrBuffer buf) { buf.enc_ndr_small(5); /* RPC version */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception if the call failed, null otherwise */ public DcerpcException getResult() { if (result != 0) { return new DcerpcException(result); } return null; } void encode_header(final NdrBuffer buf) { buf.enc_ndr_small(5); /* RPC version */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.msrpc; import java.io.IOException; import jcifs.smb1.dcerpc.DcerpcError; import jcifs.smb1.dcerpc.DcerpcException; import jcifs.smb1.dcerpc.DcerpcHandle; import jcifs.smb1.dcerpc.rpc; import jcifs.smb1.smb1.SmbException; /** * Handle for Security Account Manager (SAM) policy operations.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)