Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for addError (0.08 sec)

  1. finisher_api.go

    		err = ErrInvalidTransaction
    	}
    
    	if err != nil {
    		tx.AddError(err)
    	}
    
    	return tx
    }
    
    // Commit commits the changes in a transaction
    func (db *DB) Commit() *DB {
    	if committer, ok := db.Statement.ConnPool.(TxCommitter); ok && committer != nil && !reflect.ValueOf(committer).IsNil() {
    		db.AddError(committer.Commit())
    	} else {
    		db.AddError(ErrInvalidTransaction)
    	}
    	return db
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    logger.error("IndexUpdater is terminated.", t);
                    org.codelibs.fess.exec.Crawler.addError(t.getClass().getSimpleName());
                } else if (logger.isInfoEnabled()) {
                    logger.info("IndexUpdater is terminated.");
                    org.codelibs.fess.exec.Crawler.addError(t.getClass().getSimpleName());
                }
                forceStop();
            } finally {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. gorm.go

    	return db.Statement.Settings.Load(fmt.Sprintf("%p", db.Statement) + key)
    }
    
    // Callback returns callback manager
    func (db *DB) Callback() *callbacks {
    	return db.callbacks
    }
    
    // AddError add error to db
    func (db *DB) AddError(err error) error {
    	if err != nil {
    		if db.Config.TranslateError {
    			if errTranslator, ok := db.Dialector.(ErrorTranslator); ok {
    				err = errTranslator.Translate(err)
    			}
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        public boolean hasErrorArtifactExceptions() {
            return errorArtifactExceptions != null;
        }
    
        public MetadataResolutionResult addError(Exception e) {
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public List<ArtifactResolutionException> getErrorArtifactExceptions() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    			bugLogIf(ctx, stream.AddError(err.Error()))
    			return
    		}
    		encStream, err := stream.AddEncryptedStream("inspect.zip", nil)
    		if err != nil {
    			bugLogIf(ctx, stream.AddError(err.Error()))
    			return
    		}
    		addErr = func(msg string) {
    			inspectZipW.Close()
    			encStream.Close()
    			stream.AddError(msg)
    		}
    		defer encStream.Close()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

        @Resource
        protected PathMappingService pathMappingService;
    
        @Resource
        protected CrawlingInfoService crawlingInfoService;
    
        public static void addError(final String msg) {
            if (StringUtil.isNotBlank(msg)) {
                errors.offer(msg);
            }
        }
    
        public static class Options {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    				break
    			}
    			// Invent new Name for the two-result function.
    			n := f.Name["2"+r.Name.Go]
    			if n == nil {
    				n = new(Name)
    				*n = *r.Name
    				n.AddError = true
    				n.Mangle = "_C2func_" + n.Go
    				f.Name["2"+r.Name.Go] = n
    			}
    			expr = getNewIdent(n.Mangle)
    			r.Name = n
    			break
    		}
    	case ctxExpr:
    		switch r.Name.Kind {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(settings, problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(mirror);
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                mirror = mirror.clone();
    
                request.addMirror(mirror);
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top