Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for SetError (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)));
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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))
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  8. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top