Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 613 for IllegalArgumentException (0.3 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals("gmail.com", hp.getHost());
        assertTrue(hp.hasPort());
        assertEquals(81, hp.getPort());
    
        assertThrows(IllegalArgumentException.class, () -> HostAndPort.fromParts("gmail.com:80", 81));
    
        assertThrows(IllegalArgumentException.class, () -> HostAndPort.fromParts("gmail.com", -1));
      }
    
      public void testFromHost() {
        HostAndPort hp = HostAndPort.fromHost("gmail.com");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                            .setAnalyzer(contentsReadingAnalyzerName).execute().actionGet(settings.getIndicesTimeout());
                    return analyzeResponse.getTokens();
                } catch (final IllegalArgumentException e) {
                    return analyze(text, field, lang);
                }
            }
        }
    
        public static boolean isSupportedLanguage(final String lang) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("AA"));
            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("C"));
            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("C2.2C"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ValueGraph.java

       *
       * <p>If this graph is directed, the endpoints must be ordered.
       *
       * @throws IllegalArgumentException if either endpoint is not an element of this graph
       * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
       * @since 27.1
       */
      Optional<V> edgeValue(EndpointPair<N> endpoints);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/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: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/graph/Network.java

       *
       * <p>If this network is directed, the endpoints must be ordered.
       *
       * @throws IllegalArgumentException if there are multiple parallel edges connecting {@code nodeU}
       *     to {@code nodeV}
       * @throws IllegalArgumentException if either endpoint is not an element of this network
       * @throws IllegalArgumentException if the endpoints are unordered and the network is directed
       * @since 27.1
       */
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

            assertThrows(
                IllegalArgumentException.class, () -> network.edgesConnecting(N1, NODE_NOT_IN_GRAPH)));
        assertNodeNotInGraphErrorMessage(
            assertThrows(
                IllegalArgumentException.class, () -> network.edgesConnecting(NODE_NOT_IN_GRAPH, N2)));
        assertNodeNotInGraphErrorMessage(
            assertThrows(
                IllegalArgumentException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleMathTest.java

        assertThat(DoubleMath.mean(ImmutableList.of(1.1))).isWithin(1.0e-10).of(1.1);
        assertThrows(IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.<Double>of()));
        assertThrows(
            IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.of(Double.NaN)));
        assertThrows(
            IllegalArgumentException.class,
            () -> DoubleMath.mean(ImmutableList.of(Double.POSITIVE_INFINITY)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun addThrowsOnEmptyName() {
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add(": bar")
        }
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add(" : bar")
        }
      }
    
      @Test fun addThrowsOnNoColon() {
        assertFailsWith<IllegalArgumentException> {
          Headers.Builder().add("foo bar")
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top