- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getError (0.26 sec)
-
src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java
* * @return the error description */ public String getError() { return error != null ? error : "Error code: " + returnCode; } /** * Sets the error message. * * @param error the error message */ public void setError(String error) { this.error = error; } /** * Gets the return code. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java
} /** * Gets the error message. * * @return the error message */ public String getError() { return error; } /** * Sets the error message. * * @param error the error message */ public void setError(String error) { this.error = error; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java
* * @return the error description */ public String getError() { return error != null ? error : "Error code: " + returnCode; } /** * Sets the error message. * * @param error the error message */ public void setError(String error) { this.error = error; } /** * Gets the registration ID. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
return registration; } else { String errorMsg = response != null ? response.getError() : "Response was null"; throw new IOException("Witness registration failed: " + errorMsg); } } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java
this.error = error; this.completed = true; } /** * Get error if request failed * * @return exception if failed, null if successful */ public Exception getError() { return error; } /** * Check if request failed * * @return true if failed, false otherwise */ public boolean hasFailed() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
return registration; } else { throw new IOException("Witness registration failed: " + response.getError()); } } catch (Exception e) { log.error("Failed to register for witness notifications", e); throw new RuntimeException(e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Setup mock RPC response for failure WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class); when(mockResponse.isSuccess()).thenReturn(false); when(mockResponse.getError()).thenReturn("Registration failed"); WitnessRpcClient mockRpc = mock(WitnessRpcClient.class); lenient().when(mockRpc.register(any(WitnessRegisterRequest.class))).thenReturn(mockResponse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
cmd/perf-tests.go
mu.Unlock() } }(i) } wg.Wait() // We already saw write failures, no need to proceed into read's if retError != "" { return SpeedTestResult{ Uploads: totalBytesWritten, Downloads: totalBytesRead, UploadTimes: uploadTimes, Error: retError, }, nil } downloadsCtx, downloadsCancel := context.WithTimeout(ctx, opts.duration) defer downloadsCancel()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertEquals(0, channelInfo.getBytesSent()); assertEquals(0, channelInfo.getBytesReceived()); assertEquals(0, channelInfo.getRequestsSent()); assertEquals(0, channelInfo.getErrors()); channelInfo.addBytesSent(1000); channelInfo.addBytesReceived(2000); channelInfo.incrementRequestsSent(); channelInfo.incrementErrors();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
response.setContextHandle(contextHandle); log.debug("Witness registration successful: {}", registrationId); } else { response.setError(message.getErrorMessage()); log.warn("Witness registration failed: {}", message.getErrorMessage()); } return response; } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0)