- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getErrorCode (0.06 sec)
-
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
original.withContext("attempt", 1); // When SmbOperationException retry = SmbOperationException.forRetry(original, 2); // Then assertEquals(original.getErrorCode(), retry.getErrorCode()); assertEquals(original.getMessage(), retry.getMessage()); assertEquals(original.getCause(), retry.getCause()); assertNotNull(retry.getContext()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
boolean cont = false; if (resp.getErrorCode() == 0x30002) { // if using DOS error codes this indicates a DFS referral resp.setErrorCode(NtStatus.NT_STATUS_PATH_NOT_COVERED); } else { resp.setErrorCode(SmbException.getStatusByCode(resp.getErrorCode())); } switch (resp.getErrorCode()) { case NtStatus.NT_STATUS_SUCCESS:Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ @Override public Exception getException() { return this.exception; } /** * * @return error status code */ @Override public final int getErrorCode() { return getStatus(); } /** * * @return whether signature verification failed */ @Override public final boolean isVerifyFailed() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K 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/main/java/jcifs/smb/SmbOperationException.java
if (contextMap != null) { this.context.putAll(contextMap); } return this; } // Getters public ErrorCode getErrorCode() { return errorCode; } public ErrorCategory getErrorCategory() { return errorCode.getCategory(); } public RetryPolicy getRetryPolicy() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
// tree connect might still have succeeded response = (TreeConnectResponse) request.getResponse(); if (response.isReceived() && !response.isError() && response.getErrorCode() == NtStatus.NT_STATUS_SUCCESS) { if (!transport.isDisconnected()) { treeConnected(transport, sess, response); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
bufferIndex = this.headerStart + this.andxOffset; this.andx.headerStart = this.headerStart; this.andx.setCommand(this.andxCommand); this.andx.setErrorCode(getErrorCode()); this.andx.setFlags(getFlags()); this.andx.setFlags2(getFlags2()); this.andx.setTid(getTid()); this.andx.setPid(getPid()); this.andx.setUid(getUid());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)