- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for SetError (0.04 sec)
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
WebApiUtil.setError(201, "Created"); WebApiUtil.setError(400, "Bad Request"); WebApiUtil.setError(401, "Unauthorized"); WebApiUtil.setError(403, "Forbidden"); WebApiUtil.setError(404, "Not Found"); WebApiUtil.setError(500, "Internal Server Error"); WebApiUtil.setError(502, "Bad Gateway"); WebApiUtil.setError(503, "Service Unavailable");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
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: Thu Sep 04 12:52:25 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: 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/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) -
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) -
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 Sep 07 03:35:12 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.9K 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) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0)