- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for DcerpcException (0.13 sec)
-
src/main/java/jcifs/dcerpc/DcerpcException.java
/** The DCERPC error code */ private int error; DcerpcException(final int error) { super(getMessageByDcerpcError(error)); this.error = error; } /** * Constructs a DcerpcException with the specified message * * @param msg * the error message */ public DcerpcException(final String msg) { super(msg); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
/** The root cause exception */ private Throwable rootCause; DcerpcException(final int error) { super(getMessageByDcerpcError(error)); this.error = error; } /** * Constructs a DcerpcException with the specified message * * @param msg the error message */ public DcerpcException(final String msg) { super(msg); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
} @Test void testWrapMethodThrowsDcerpcException() throws DcerpcException { // Configure the mock to throw DcerpcException when wrap is called doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer); // Assert that calling wrap throws DcerpcException assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.wrap(mockNdrBuffer));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
} @Test void testSetOptionEndpointInvalidPipe() { String endpoint = "\\pipe\\unknown"; DcerpcException thrown = assertThrows(DcerpcException.class, () -> { dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for unknown pipe endpoint."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
} @Test @DisplayName("Should verify DcerpcException uses fault codes correctly") void testDcerpcExceptionIntegration() { // Test that DcerpcException can be created and implements DcerpcError DcerpcException ex1 = new DcerpcException("Test error", null); assertTrue(ex1 instanceof DcerpcError, "DcerpcException should implement DcerpcError");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test constructor DcerpcException(String msg). */ @Test void testConstructorWithMessage() { String message = "Test message for DcerpcException."; DcerpcException exception = new DcerpcException(message); assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message-only constructor.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0)