- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for SetError (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2K bytes - Click Count (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) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (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; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 3K bytes - Click Count (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. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public String getWhy() { return why; } public void setWhy(String why) { this.why = why; } public String getError() { return error; } public void setError(String error) { this.error = error; } public boolean isError() { return error == null; } public String getDependencyConflictId() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8K bytes - Click Count (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()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (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) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (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() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 3.2K bytes - Click Count (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); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0)