Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,097 for onerror (0.05 sec)

  1. android/guava/src/com/google/common/base/SneakyThrows.java

       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
      static Error sneakyThrow(Throwable t) {
        throw new SneakyThrows<Error>().throwIt(t);
      }
    
      @SuppressWarnings("unchecked") // not really safe, but that's the point
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SneakyThrows.java

       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
      static Error sneakyThrow(Throwable t) {
        throw new SneakyThrows<Error>().throwIt(t);
      }
    
      @SuppressWarnings("unchecked") // not really safe, but that's the point
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/error/ErrorAction.java

        //                                                                      ==============
        /**
         * Displays the general error page.
         *
         * @param form the error form containing error information
         * @return HTML response for the error page
         */
        @Execute
        public HtmlResponse index(final ErrorForm form) {
            return asHtml(virtualHost(path_Error_ErrorJsp));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/error/ErrorSystemerrorAction.java

        //                                                                      ==============
        /**
         * Displays the system error page.
         *
         * @param form the error form containing error information
         * @return HTML response for the system error page
         */
        @Execute
        public HtmlResponse index(final ErrorForm form) {
            return asHtml(virtualHost(path_Error_SystemJsp));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        @Override
        public void touch(Artifact artifact, ArtifactRepository repository, String error) {
            File file = artifact.getFile();
    
            File touchfile = getTouchfile(artifact);
    
            if (file.exists()) {
                touchfile.delete();
            } else {
                writeLastUpdated(touchfile, getRepositoryKey(repository), error);
            }
        }
    
        @Override
    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. tests/migrate_test.go

    					t.Fatalf("failed to drop table, got error: %v", err)
    				}
    				if err := DB.Exec("CREATE TABLE ? (`name` varchar(10) UNIQUE)", clause.Table{Name: table}).Error; err != nil {
    					t.Fatalf("failed to create table, got error: %v", err)
    				}
    				if err := DB.Table(table).AutoMigrate(test.to); err != nil {
    					t.Fatalf("failed to migrate table, got error: %v", err)
    				}
    				test.checkFunc(t)
    			})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/error/ErrorForm.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.error;
    
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Form class for handling error page data and search parameters.
     * This form captures the state of a search request when an error occurs,
     * allowing the error page to display relevant information and preserve search context.
     */
    public class ErrorForm {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. schema/serializer.go

    	value           interface{}
    	fieldValue      interface{}
    }
    
    // Scan implements sql.Scanner interface
    func (s *serializer) Scan(value interface{}) error {
    	s.value = value
    	return nil
    }
    
    // Value implements driver.Valuer interface
    func (s serializer) Value() (driver.Value, error) {
    	return s.SerializeValuer.Value(s.Context, s.Field, s.Destination, s.fieldValue)
    }
    
    // SerializerInterface serializer interface
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. callbacks/delete.go

    				if db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil {
    					return
    				}
    			}
    		}
    
    	}
    }
    
    func Delete(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.DeleteClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    		if db.Statement.Schema != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. tests/distinct_test.go

    	if err := DB.Model(&User{}).Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 5 {
    		t.Errorf("failed to query users count, got error: %v, count: %v", err, count)
    	}
    
    	if err := DB.Model(&User{}).Distinct("name").Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 3 {
    		t.Errorf("failed to query users count, got error: %v, count %v", err, count)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top