- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for SetError (0.24 sec)
-
src/main/java/org/codelibs/fess/util/WebApiUtil.java
/** * Sets an error in the current request with the specified status code and message. * * @param statusCode The HTTP status code * @param message The error message */ public static void setError(final int statusCode, final String message) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (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() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 8K bytes - Viewed (0) -
cmd/notification.go
reqInfo := (&logger.ReqInfo{}).AppendTags("remotePeer", addr) ctx := logger.SetReqInfo(GlobalContext, reqInfo) peersLogOnceIf(ctx, err, "add-node-err-"+addr) nodeInfo.SetAddr(addr) nodeInfo.SetError(err.Error()) } // GetSysErrors - Memory information func (sys *NotificationSys) GetSysErrors(ctx context.Context) []madmin.SysErrors { reply := make([]madmin.SysErrors, len(sys.peerClients))Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 46K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 11.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
String key = getMetadataKey(repository, file); return readLastUpdated(touchfile, key); } @Override public String getError(Artifact artifact, ArtifactRepository repository) { File touchFile = getTouchfile(artifact); return getError(touchFile, getRepositoryKey(repository)); } @Override public void touch(Artifact artifact, ArtifactRepository repository, String error) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java
@Deprecated public interface UpdateCheckManager { boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository); void touch(Artifact artifact, ArtifactRepository repository, String error); String getError(Artifact artifact, ArtifactRepository repository); boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0)