Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 863 for IllegalArgumentException (0.3 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        }
      }
    
      public void testPriority_tooLow() {
        assertThrows(
            IllegalArgumentException.class, () -> builder.setPriority(Thread.MIN_PRIORITY - 1));
      }
    
      public void testPriority_tooHigh() {
        assertThrows(
            IllegalArgumentException.class, () -> builder.setPriority(Thread.MAX_PRIORITY + 1));
      }
    
      public void testUncaughtExceptionHandler_custom() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          boolean expectSuccess = value >= min && value <= max;
          try {
            assertThat(UnsignedInteger.valueOf(value).longValue()).isEqualTo(value);
            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
            assertThat(expectSuccess).isFalse();
          }
        }
      }
    
      public void testValueOfBigInteger() {
        long min = 0;
        long max = (1L << 32) - 1;
        for (long value : TEST_LONGS) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        /**
         * Creates a new DefaultQueryBuilder wrapping the specified QueryBuilder.
         *
         * @param queryBuilder the query builder to wrap (must be BoolQueryBuilder or DisMaxQueryBuilder)
         * @throws IllegalArgumentException if the query builder type is not supported
         */
        public DefaultQueryBuilder(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
            if (queryBuilder instanceof BoolQueryBuilder) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

        public static HandleType fromValue(int value) {
            for (HandleType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
            throw new IllegalArgumentException("Unknown handle type value: " + value);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy

            "1.2.3" | "1.2.4"
        }
    
        def "invalid version format is rejected"() {
            when:
            ReleasedVersionsHelperKt.bumpPatchVersion(version)
    
            then:
            thrown(IllegalArgumentException)
    
            where:
            version << ["9.4", "9", "9.4.0.1", "not.a.version", "9.4.0-SNAPSHOT"]
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      }
    
      public void testGetInstance_withTypeVariable() {
        assertThrows(
            IllegalArgumentException.class, () -> map.getInstance(this.<Number>anyIterableType()));
      }
    
      public void testPutInstance_withTypeVariable() {
        assertThrows(
            IllegalArgumentException.class,
            () -> map.putInstance(this.<Integer>anyIterableType(), ImmutableList.of(1)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11));
    
        assertThrows(IllegalArgumentException.class, () -> reader.skip(-1));
    
        assertThrows(IllegalArgumentException.class, () -> reader.mark(-1));
      }
    
      public void testMethodsThrowWhenClosed() throws IOException {
        CharSequenceReader reader = new CharSequenceReader("");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeParser.java

            try {
                return CommonsCliUpgradeOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsSqlClause.java

        public void fetchFirst(int fetchSize) {
            _fetchScopeEffective = true;
            if (fetchSize < 0) {
                String msg = "Argument[fetchSize] should be plus: " + fetchSize;
                throw new IllegalArgumentException(msg);
            }
            _fetchStartIndex = 0;
            _fetchSize = fetchSize;
            _fetchPageNumber = 1;
            doClearFetchPageClause();
            doFetchFirst();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top