Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 681 for IllegalArgumentException (0.87 sec)

  1. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         * @throws IllegalArgumentException if {@code edge} already exists in the network and connects
         *     some other endpoint pair that is not equal to {@code endpoints}
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the network is directed
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ImmutableNetwork.java

         * @throws IllegalArgumentException if {@code edge} already exists in the network and connects
         *     some other endpoint pair that is not equal to {@code endpoints}
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the network is directed
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ContiguousSet.java

      /**
       * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain
       * Range#contains contained} by the range.
       *
       * @throws IllegalArgumentException if neither range nor the domain has a lower bound, or if
       *     neither has an upper bound
       * @since 13.0
       */
      public static <C extends Comparable> ContiguousSet<C> create(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. maven-slf4j-wrapper/src/test/java/org/apache/maven/logwrapper/LogLevelRecorderTest.java

            logLevelRecorder.record(Level.ERROR);
    
            assertTrue(logLevelRecorder.metThreshold());
        }
    
        @Test
        void failsOnLowerThanWarn() {
            assertThrows(IllegalArgumentException.class, () -> new LogLevelRecorder("INFO"));
        }
    
        @Test
        void createsLogLevelRecorderWithWarning() {
            LogLevelRecorder logLevelRecorder = new LogLevelRecorder("WARNING");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MoreCollectors.java

              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          multiset.add(entry.getElement(), entry.getCount());
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          multiset.add(entry.getElement());
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          multiset.addAll(Collections.singletonList(entry.getElement()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java

     */
    @Experimental
    public interface ArtifactInstaller extends Service {
        /**
         * @param request {@link ArtifactInstallerRequest}
         * @throws ArtifactInstallerException in case of an error
         * @throws IllegalArgumentException in case {@code request} is {@code null}
         */
        void install(@Nonnull ArtifactInstallerRequest request);
    
        /**
         * @param session the repository session
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            parseInteger(spec, Integer.parseInt(value));
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
                format("key %s value set to %s, must be integer", key, value), e);
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilderSpec.java

          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            parseInteger(spec, Integer.parseInt(value));
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
                format("key %s value set to %s, must be integer", key, value), e);
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java

            assertFalse(rtInfo.isMavenVersion("[9.0,)"));
    
            assertThrows(
                    IllegalArgumentException.class,
                    () -> rtInfo.isMavenVersion("[3.0,"),
                    "Bad version range wasn't rejected");
    
            assertThrows(
                    IllegalArgumentException.class, () -> rtInfo.isMavenVersion(""), "Bad version range wasn't rejected");
    
            assertThrows(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top