Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetError (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    artifact.setResolved(true);
                } else if (!artifact.getFile().exists()) {
                    String error = updateCheckManager.getError(artifact, repository);
                    if (error != null) {
                        throw new TransferFailedException("Failure to resolve " + remotePath + " from "
                                + repository.getUrl()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top