Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 269 for IllegalStateException (0.09 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      }
    
      @Test
      fun shutdownTwice() {
        val server2 = MockWebServer()
        server2.start()
        server2.shutdown()
        try {
          server2.start()
          fail<Any>()
        } catch (expected: IllegalStateException) {
          // expected
        }
        server2.shutdown()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                    stats[2]++;
                    break;
                  case SIZE:
                    stats[3]++;
                    break;
                  default:
                    throw new IllegalStateException("No collected exceptions in GWT CacheBuilder.");
                }
              }
            };
    
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

      private val sslSocketFactoryOrNull: SSLSocketFactory?
    
      @get:JvmName("sslSocketFactory")
      val sslSocketFactory: SSLSocketFactory
        get() = sslSocketFactoryOrNull ?: throw IllegalStateException("CLEARTEXT-only client")
    
      @get:JvmName("x509TrustManager")
      val x509TrustManager: X509TrustManager?
    
      @get:JvmName("connectionSpecs")
      val connectionSpecs: List<ConnectionSpec> =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

                }
    
              case CANCELLED:
              case INTERRUPTED:
                throw cancellationExceptionWithCause("Task was cancelled.", exception);
    
              default:
                throw new IllegalStateException("Error, synchronizer in invalid state: " + state);
            }
          }
    
          /** Checks if the state is {@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}. */
          boolean isDone() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * body will be discarded before trailers are returned.
       *
       * If [Call.cancel] is called while this is blocking, this call will immediately throw.
       *
       * @throws IllegalStateException if the response is closed.
       * @throws IOException if the trailers cannot be loaded, such as if the network connection is
       *     dropped.
       */
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        assertThrows(
            IllegalStateException.class,
            () -> builder.build(CacheLoader.from(Suppliers.ofInstance(null))));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumSize_withWeigher() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
       * @throws IllegalStateException if multiple charset values have been set for this media type
       * @throws IllegalCharsetNameException if a charset value is present, but illegal
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

                        String msg = "The foreignPropertyName of the query should not be null:";
                        msg = msg + " query=" + query;
                        throw new IllegalStateException(msg);
                    }
                    sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + ".");
                }
                query = query.xgetReferrerQuery();
            }
            return sb.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

                        String msg = "The foreignPropertyName of the query should not be null:";
                        msg = msg + " query=" + query;
                        throw new IllegalStateException(msg);
                    }
                    sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + ".");
                }
                query = query.xgetReferrerQuery();
            }
            return sb.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @throws IllegalStateException if the {@code Future} is not done
       * @since 20.0
       */
      @CanIgnoreReturnValue
      // TODO(cpovirk): Consider calling getDone() in our own code.
      @ParametricNullness
      public static <V extends @Nullable Object> V getDone(Future<V> future) throws ExecutionException {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top