Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 277 for IllegalStateException (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
          if (states.count(RUNNING) != numberOfServices) {
            IllegalStateException exception =
                new IllegalStateException(
                    "Expected to be healthy after starting. The following services are not running: "
                        + Multimaps.filterKeys(servicesByState, not(equalTo(RUNNING))));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
          if (states.count(RUNNING) != numberOfServices) {
            IllegalStateException exception =
                new IllegalStateException(
                    "Expected to be healthy after starting. The following services are not running: "
                        + Multimaps.filterKeys(servicesByState, not(equalTo(RUNNING))));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/HMACT64.java

        }
    
    
        @Override
        public Object clone () {
            try {
                return new HMACT64(this);
            }
            catch ( CloneNotSupportedException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected byte[] engineDigest () {
            byte[] digest = this.md5.digest();
            this.md5.update(this.opad);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

      }
    
      @Test fun nullInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

            + allowsSelfLoops()
            + ", nodes: "
            + nodes()
            + ", edges: "
            + edgeIncidentNodesMap(this);
      }
    
      /**
       * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
       * not present in this network.
       *
       * @since 33.1.0
       */
      protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
        return InvalidatableSet.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeUncheckedException sue = new SomeUncheckedException();
        IllegalArgumentException iae = new IllegalArgumentException(sue);
        RuntimeException re = new RuntimeException(iae);
        IllegalStateException ex = new IllegalStateException(re);
    
        assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder();
        assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractNetwork.java

            + allowsSelfLoops()
            + ", nodes: "
            + nodes()
            + ", edges: "
            + edgeIncidentNodesMap(this);
      }
    
      /**
       * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
       * not present in this network.
       *
       * @since 33.1.0
       */
      protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
        return InvalidatableSet.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/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: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/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: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

            boundary = "simple boundary",
            source = Buffer().writeUtf8(multipart),
          )
    
        val partAbc = parts.nextPart()!!
        val partMno = parts.nextPart()!!
    
        assertFailsWith<IllegalStateException> {
          partAbc.body.request(20)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
    
        assertThat(partMno.body.readUtf8()).isEqualTo("mnop")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top