Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,205 for Exceptions (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        try {
          Ints.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (int x : VALUES) {
          for (int y : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Double#valueOf}.
       */
      private static @Nullable Double referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testAsListEmpty() {
        assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. src/main/resources/fess_message_fr.properties

    constraints.CronExpression.message          = {item} est une expression cron invalide.
    
    # ----------------------------------------------------------
    #                                      Application Exception
    #                                      ---------------------
    # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # five framework-embedded messages (don't change key names)
    # - - - - - - - - - -/
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 06 22:59:17 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          }
    
        return dateFormat.format(date)
      }
    
      /**
       * A timestamp like "191216030210Z" or "20191215190210-0800" for 2019-12-15T19:02:10-08:00. This
       * is the same as [UTC_TIME] with the exception of the 4-digit year.
       */
      val GENERALIZED_TIME =
        BasicDerAdapter(
          name = "GENERALIZED TIME",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 24L,
          codec =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Collections2Test.java

          assertTrue(permutations.hasNext());
          permutations.next();
        }
        assertNoMorePermutations(permutations);
      }
    
      public void testToStringImplWithNullEntries() throws Exception {
        List<@Nullable String> list = Lists.newArrayList();
        list.add("foo");
        list.add(null);
    
        assertEquals(list.toString(), Collections2.toStringImpl(list));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/FinalizableReferenceQueue.java

           * System class loader will (and must) be the parent.
           */
          try (URLClassLoader finalizerLoader = newLoader(getBaseUrl())) {
            return finalizerLoader.loadClass(FINALIZER_CLASS_NAME);
          } catch (Exception e) {
            logger.log(Level.WARNING, LOADING_ERROR, e);
            return null;
          }
        }
    
        /** Gets URL for base of path containing Finalizer.class. */
        URL getBaseUrl() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

    import org.codelibs.core.misc.DynamicProperties;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType;
    import org.codelibs.fess.exception.InvalidQueryException;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.query.BooleanQueryCommand;
    import org.codelibs.fess.query.BoostQueryCommand;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName origin = InternetDomainName.from("foo.com");
        InternetDomainName parent = origin.parent();
        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Map;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.codelibs.core.message.MessageFormatter;
    import org.codelibs.core.misc.DisposableUtil;
    
    /**
     * ログ出力を提供するクラスです。
     *
     * @author higa
     */
    public class Logger {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top