Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setError (0.06 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	}
    
    	fd := int(netns.Fd())
    	resp, err := latestConn.send(ctx, data, &fd)
    	if err != nil {
    		return err
    	}
    
    	if resp.GetAck().GetError() != "" {
    		log.Errorf("failed to add workload: %s", resp.GetAck().GetError())
    		return fmt.Errorf("got ack error: %s", resp.GetAck().GetError())
    	}
    	return nil
    }
    
    // TODO ctx is unused here
    // nolint: unparam
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                                edge.isResolved(),
                                edge.getTarget() == null
                                        ? null
                                        : edge.getTarget().getMd().getError());
                        MetadataGraphVertex newV = res.addVertex(newMd);
                        MetadataGraphVertex sourceV = res.addVertex(edge.getSource().getMd());
    
                        res.addEdge(sourceV, newV, edge);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top