- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for getErrorCode (0.07 sec)
-
src/main/java/jcifs/dcerpc/DcerpcException.java
super(msg, rootCause); } /** * Returns the DCE/RPC error code associated with this exception * * @return the error code */ public int getErrorCode() { return this.error; } /** * * @return the root cause * @deprecated use {@link #getCause()} */ @Deprecated public Throwable getRootCause() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
} final MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this); try { handle.sendrecv(rpc); } catch (final DcerpcException de) { if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR) { throw de; } final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2); }
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/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java
return 4; } @Override protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; if (this.getErrorCode() != 0) { return 4; } try { this.securityDescriptor = new SecurityDescriptor(); bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
* * @return number of credits granted by the server */ int getGrantedCredits(); /** * Gets the error status code. * * @return status code */ int getErrorCode(); /** * Sets the message ID. * * @param k the message ID to set */ void setMid(long k); /** * Gets the message ID. * * @return mid */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test error code property") void testErrorCodeProperty() { testBlock.setErrorCode(0x12345678); assertEquals(0x12345678, testBlock.getErrorCode()); } @Test @DisplayName("Test path property") void testPathProperty() { testBlock.setPath("\\new\\path");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
} final MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this); try { handle.sendrecv(rpc); } catch (final DcerpcException de) { if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR) { throw de; } final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
super(msg); this.rootCause = rootCause; } /** * Returns the DCE/RPC error code associated with this exception * * @return the error code */ public int getErrorCode() { return error; } /** * Returns the root cause of this exception * * @return the root cause throwable */ public Throwable getRootCause() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
void testGetErrorCode() { int status = NtStatus.NT_STATUS_ACCESS_DENIED; response.setStatusForTest(status); assertEquals(status, response.getErrorCode()); } } @Nested @DisplayName("Credit Tests") class CreditTests { @Test @DisplayName("Should return credit as granted credits")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
this.recoveryHint = hint; return this; } /** * Gets the SMB error code * * @return the error code */ public int getErrorCode() { return errorCode; } /** * Gets the error severity * * @return the severity */ public Severity getSeverity() { return severity; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
@Test void testGetResult() { ResultMsg m = new ResultMsg(); assertNull(m.getResult()); m.setResult(0xDEAD); DcerpcException e = m.getResult(); assertEquals(0xDEAD, e.getErrorCode()); } @Test void testEncodeHeaderAndDecodeHeader() throws Exception { TestMessage m = new TestMessage(); m.ptype = 0; // request m.flags = 0x05; m.alloc_hint = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0)