Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 613 for IllegalArgumentException (0.14 sec)

  1. android/guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Traverser.forTree(createDirectedGraph()).breadthFirst('a'));
      }
    
      @Test
      public void forTree_breadthFirstIterable_emptyGraph() {
        assertEqualCharNodes(
            Traverser.forTree(createDirectedGraph()).breadthFirst(charactersOf("")), "");
        assertThrows(
            IllegalArgumentException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Traverser.forTree(createDirectedGraph()).breadthFirst('a'));
      }
    
      @Test
      public void forTree_breadthFirstIterable_emptyGraph() {
        assertEqualCharNodes(
            Traverser.forTree(createDirectedGraph()).breadthFirst(charactersOf("")), "");
        assertThrows(
            IllegalArgumentException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
       * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which
       * throws an {@code IllegalStateException}.)
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

            new Builder<String, Integer>()
                .put("one", 1)
                .put("one", 1); // throwing on this line would be even better
    
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> builder.build());
        assertThat(expected.getMessage()).contains("one");
      }
    
      public void testOf() {
        assertMapEquals(ImmutableBiMap.of("one", 1), "one", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

          final int ii = i;
          ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
          assertThrows(IllegalArgumentException.class, () -> builder.put(Range.closedOpen(ii, ii), 1));
          assertThrows(IllegalArgumentException.class, () -> builder.put(Range.openClosed(ii, ii), 1));
        }
      }
    
      public void testOverlapRejection() {
        for (Range<Integer> range1 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      public void testInvalidIntRange() {
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2, 1));
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2, 1));
      }
    
      public void testInvalidLongRange() {
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2L, 1L));
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2L, 1L));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top