Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 863 for IllegalArgumentException (1.3 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
        verifyTableSize(100, 2, 4);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
        verifyTableSize(100, 2, 8);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
       * the caveat that an {@link IllegalArgumentException} is thrown on an attempt to {@linkplain
       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // Otherwise calculate the value by calling .get()
        try {
          Object v = getUninterruptibly(future);
          if (wasCancelled) {
            return new Cancellation(
                false,
                new IllegalArgumentException(
                    "get() did not throw CancellationException, despite reporting "
                        + "isCancelled() == true: "
                        + future));
          }
          return v == null ? NULL : v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
        Set<Feature<?>> allAbsentFeatures = copyToSet(absentFeatures);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

                try {
                    Key k = (Key) INQUIRE_SEC_CONTEXT.invoke(this.gssContext, INQUIRE_TYPE_SESSION_KEY);
                    return k.getEncoded();
                } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) {
                    throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex);
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                void interpolate(Object target, InterpolateObjectAction interpolateObjectAction) {
                    try {
                        doInterpolate(target, interpolateObjectAction);
                    } catch (IllegalArgumentException e) {
                        interpolateObjectAction.problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                                .setMessage("Failed to interpolate field3: " + field + " on class: "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableMultimap.java

       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       * @since 33.3.0
       */
      public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  9. build-tools-internal/src/test/java/org/elasticsearch/gradle/internal/BwcVersionsTests.java

        }
    
        @BeforeClass
        public static void setupAll() {
            Assume.assumeFalse(Architecture.current() == Architecture.AARCH64);
        }
    
        @Test(expected = IllegalArgumentException.class)
        public void testExceptionOnEmpty() {
            new BwcVersions(asList("foo", "bar"), Version.fromString("7.0.0"));
        }
    
        @Test(expected = IllegalStateException.class)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 23.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
       * the caveat that an {@link IllegalArgumentException} is thrown on an attempt to {@linkplain
       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top