Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 863 for IllegalArgumentException (0.32 seconds)

  1. android/guava/src/com/google/common/math/DoubleMath.java

       * {@code int}.
       *
       * <p>Regardless of the rounding mode, this is faster than {@code (int) log2(x)}.
       *
       * @throws IllegalArgumentException if {@code x <= 0.0}, {@code x} is NaN, or {@code x} is
       *     infinite
       */
      @GwtIncompatible // java.lang.Math.getExponent, com.google.common.math.DoubleUtils
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         * by sort order and name.</p>
         *
         * @param dataConfigPager the pager containing search criteria and pagination settings
         * @return a list of DataConfig entities matching the search criteria
         * @throws IllegalArgumentException if dataConfigPager is null
         */
        public List<DataConfig> getDataConfigList(final DataConfigPager dataConfigPager) {
    
            final PagingResultBean<DataConfig> dataConfigList = dataConfigBhv.selectPage(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            // Test that invalid valueOf throws exception
            assertThrows(IllegalArgumentException.class, () -> {
                WitnessServiceType.valueOf("INVALID_TYPE");
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                WitnessVersion.valueOf("INVALID_VERSION");
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                WitnessEventType.valueOf("INVALID_EVENT");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
         */
        @Nonnull
        default DependencyResolverResult collect(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            if (data == null) {
                throw new IllegalArgumentException("Data buffer cannot be null");
            }
            if (offset < 0 || length < 0) {
                throw new IllegalArgumentException("Offset and length must be non-negative");
            }
            if (offset + length > data.length) {
                throw new IllegalArgumentException("Offset + length exceeds data buffer size");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

            if (progressedSize < 0L) {
                throw new IllegalArgumentException("progressed file size cannot be negative: " + size);
            }
            if (size >= 0 && progressedSize > size) {
                throw new IllegalArgumentException(
                        "progressed file size cannot be greater than size: " + progressedSize + " > " + size);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        for (BigInteger x : NEGATIVE_BIGINTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.ceilingPowerOfTwo(x));
        }
      }
    
      public void testFloorPowerOfTwoNegative() {
        for (BigInteger x : NEGATIVE_BIGINTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *             high/low surrogate pair is returned.</b>
       *         <li>If the next character was not a low surrogate value, then {@link
       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CollectPreconditions.java

      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonnegative(long value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top