Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 613 for IllegalArgumentException (0.12 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                        }
                    }
                } catch (final Exception e) {
                    throw new IllegalArgumentException("Could not access " + monitoringFilePath, e);
                }
            }
    
        }
    
        @Override
        public Tokenizer create() {
            return new TokenizerWrapper();
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

                .getTypeParameters()[0];
        assertEquals(expected, variable);
      }
    
      public void testConcreteTypeRejected() {
        assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {});
      }
    
      public <A, B> void testEquals() throws Exception {
        Method method = TypeParameterTest.class.getDeclaredMethod("testEquals");
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        assertEquals(20, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromIllegalSizes() {
        assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(15, -2));
    
        assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(-15, 2));
      }
    
      public void testCreateFromHashMultimap() {
        Multimap<String, Integer> original = HashMultimap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        assertThrows(NullPointerException.class, () -> builder.put(immutableEntry((String) null, 1)));
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableMultimap.builderWithExpectedKeys(-1));
      }
    
      public void testBuilderWithExpectedKeysZero() {
        ImmutableMultimap.Builder<String, String> builder =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        f.set("foo");
        assertEquals(1, ex.runCount);
      }
    
      // Error cases
      public void testSameThreadExecutionException() {
        SettableFuture<String> f = SettableFuture.create();
        Exception e = new IllegalArgumentException("foo not found");
        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
        f.setException(e);
      }
    
      public void testCancel() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/StatsTest.java

                    + ", max="
                    + MANY_VALUES_STATS_ITERABLE.max()
                    + "}");
      }
    
      public void testMeanOf() {
        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf());
        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf(ImmutableList.<Number>of()));
        assertThat(Stats.meanOf(ONE_VALUE)).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value any value in the range of the {@code int} type
       * @return the {@code int} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} or
       *     less than {@link Integer#MIN_VALUE}
       */
      public static int checkedCast(long value) {
        int result = (int) value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                            } else {
                                throw new IllegalArgumentException("Unrecognized entry: " + l);
                            }
                            String[] parts = l.split(splitExpr);
                            if (parts.length < 1) {
                                throw new IllegalArgumentException("Unrecognized entry: " + l);
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/SignedBytes.java

       *
       * @param value any value in the range of the {@code byte} type
       * @return the {@code byte} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Byte#MAX_VALUE} or
       *     less than {@link Byte#MIN_VALUE}
       */
      public static byte checkedCast(long value) {
        byte result = (byte) value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         * silently {@link #addNode(Object) add} each missing endpoint to the graph.
         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
         */
        @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top