Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 613 for IllegalArgumentException (0.28 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        } catch (e: NoSuchElementException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: IllegalArgumentException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    internal data class TbsCertificate(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        }
    
        @Override
        public boolean add(@ParametricNullness V element) {
          throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
        }
    
        @Override
        public boolean addAll(Collection<? extends V> collection) {
          checkNotNull(collection);
          throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
        }
    
        @Override
        protected Set<V> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      RESTRICTS_VALUES,
      SUPPORTS_PUT,
      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      public void testNewParameterizedType_invalidTypeParameters() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class));
      }
    
      public void testNewParameterizedType_primitiveTypeParameters() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedTypeWithOwner(Map.class, Entry.class, int.class, int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypesTest.java

      public void testNewParameterizedType_invalidTypeParameters() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class));
      }
    
      public void testNewParameterizedType_primitiveTypeParameters() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedTypeWithOwner(Map.class, Entry.class, int.class, int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MoreCollectors.java

              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      public void testPreconditions() {
        assertThrows(
            IllegalArgumentException.class,
            () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), -1));
        assertThrows(
            IllegalArgumentException.class,
            () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), -1, 0.03));
        assertThrows(
            IllegalArgumentException.class,
            () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), 1, 0.0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableBiMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       *
       * <p>The returned multiset is serializable if the input map is.
       *
       * @param countMap backing map for storing the elements in the multiset and their counts. It must
       *     be empty.
       * @throws IllegalArgumentException if {@code countMap} is not empty
       * @since 20.0
       */
      public static <E> ConcurrentHashMultiset<E> create(ConcurrentMap<E, AtomicInteger> countMap) {
        return new ConcurrentHashMultiset<>(countMap);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    if (threads <= 0) {
                        throw new IllegalArgumentException(
                                "Invalid threads value: '" + threadConfiguration + "'. Value must be positive.");
                    }
                    return threads;
                }
            } catch (NumberFormatException e) {
                throw new IllegalArgumentException("Invalid threads value: '" + threadConfiguration
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top