Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 277 for IllegalStateException (0.15 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InternetDomainName.java

       * cookies may be set, though even that depends on individual browsers' implementations of cookie
       * controls.
       *
       * @throws IllegalStateException if this domain does not end with a public suffix
       * @since 6.0
       */
      public InternetDomainName topPrivateDomain() {
        if (isTopPrivateDomain()) {
          return this;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("A", peekingIterator.next());
        assertEquals("B", peekingIterator.peek());
    
        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                    Set<String> s2 =
                            computed.stream().filter(s -> !given.contains(s)).collect(Collectors.toSet());
                    throw new IllegalStateException(
                            "List of phases differ in size: expected " + computed.size() + ", but received " + given.size()
                                    + (s1.isEmpty() ? "" : ", missing " + s1)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            return source.trailers ?: EMPTY_HEADERS
          }
          if (errorCode != null) {
            throw errorException ?: StreamResetException(errorCode!!)
          }
          throw IllegalStateException("too early; can't read the trailers yet")
        }
      }
    
      /**
       * Sends a reply to an incoming stream.
       *
       * @param outFinished true to eagerly finish the output stream to send data to the remote peer.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        /**
         * Gets the root directory of the project, which is the parent directory
         * containing the {@code .mvn} directory or flagged with {@code root="true"}.
         *
         * @throws IllegalStateException if the root directory could not be found
         * @see Session#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        /**
         * Returns project parent project, if any.
         * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

            private String sourceLevel = USER_LEVEL;
            private boolean sourceLevelSet = false;
    
            public void setSourceLevel(String sourceLevel) {
                if (sourceLevelSet) {
                    throw new IllegalStateException("Cannot reset sourceLevel attribute; it is already set to: " + sourceLevel);
                } else if (!(USER_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top