Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 277 for IllegalStateException (0.35 sec)

  1. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      public void testSampleCovariance() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
       * element returned.
       *
       * <p>See <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6529795">Sun bug 6529795</a>
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                if (buf.length() > maxAnalyzedContentLength) {
                    try {
                        tokens.addAll(analyzer.analyze(buf.toString().trim(), field, lang));
                    } catch (OpenSearchStatusException | IllegalStateException e) {
                        if (logger.isDebugEnabled()) {
                            logger.warn("[{}][{}] Failed to analyze a text(size:{}).", field, lang, buf.length(), e);
                        } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/InterceptorTest.kt

          client.newBuilder()
            .addNetworkInterceptor(interceptor)
            .build()
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        assertFailsWith<IllegalStateException> {
          client.newCall(request).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "network interceptor $interceptor must call proceed() exactly once",
          )
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      public void testSampleVariance() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyIterable.sampleVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.sampleVariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleVariance());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsTest.java

      }
    
      public void testPearsonsCorrelationCoefficient() {
        assertThrows(
            IllegalStateException.class, () -> EMPTY_PAIRED_STATS.pearsonsCorrelationCoefficient());
        assertThrows(
            IllegalStateException.class, () -> ONE_VALUE_PAIRED_STATS.pearsonsCorrelationCoefficient());
        assertThrows(
            IllegalStateException.class,
            () -> createSingleStats(Double.POSITIVE_INFINITY, 1.23).pearsonsCorrelationCoefficient());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              .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)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

              .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)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                String resource = "/org/apache/maven/model/pom-" + v + ".xml";
    
                InputStream is = getClass().getResourceAsStream(resource);
    
                if (is == null) {
                    throw new IllegalStateException("The super POM " + resource + " was not found"
                            + ", please verify the integrity of your Maven installation");
                }
    
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
      public void testOf_one() {
        Iterable<String> iterable = MinimalIterable.of("a");
        Iterator<String> iterator = iterable.iterator();
        assertTrue(iterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top