Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 863 for IllegalArgumentException (0.41 seconds)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      public void testFailsToPropagateException() {
        assertFailure(Adder.class, FailsToPropagateException::new, "add(", "exception");
      }
    
      public void testNotInterfaceType() {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                new ForwardingWrapperTester()
                    .testForwarding(String.class, Functions.<String>identity()));
      }
    
      public void testNulls() {
        new NullPointerTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Returns a {@code UnsignedInteger} representing the same value as the specified {@link
       * BigInteger}. This is the inverse operation of {@link #bigIntegerValue()}.
       *
       * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^32}
       */
      public static UnsignedInteger valueOf(BigInteger value) {
        checkNotNull(value);
        checkArgument(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

                } else if (!(USER_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) {
                    throw new IllegalArgumentException("sourceLevel must be one of: {" + USER_LEVEL + "," + GLOBAL_LEVEL + "}");
                } else {
                    this.sourceLevel = sourceLevel;
                    this.sourceLevelSet = true;
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
        Set<Feature<?>> allAbsentFeatures = copyToSet(absentFeatures);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  5. docs/smb3-features/02-persistent-handles-design.md

        private final UUID guid;
        
        public HandleGuid() {
            this.guid = UUID.randomUUID();
        }
        
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
            ByteBuffer bb = ByteBuffer.wrap(bytes);
            long mostSig = bb.getLong();
            long leastSig = bb.getLong();
            this.guid = new UUID(mostSig, leastSig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return (frequency == null) ? 0 : frequency.get();
      }
    
      // Optional Operations - Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the call would result in more than {@link
       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>The returned range map supports all optional operations that this range map supports, except
       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      public void testFailsToPropagateException() {
        assertFailure(Adder.class, FailsToPropagateException::new, "add(", "exception");
      }
    
      public void testNotInterfaceType() {
        assertThrows(
            IllegalArgumentException.class,
            () ->
                new ForwardingWrapperTester()
                    .testForwarding(String.class, Functions.<String>identity()));
      }
    
      public void testNulls() {
        new NullPointerTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * @see jcifs.internal.dfs.DfsReferralDataInternal#stripPathConsumed(int)
         */
        @Override
        public void stripPathConsumed(final int i) {
            if (i > this.pathConsumed) {
                throw new IllegalArgumentException("Stripping more than consumed");
            }
            this.pathConsumed -= i;
        }
    
        @Override
        public void fixupDomain(final String dom) {
            final String s = getServer();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        /**
         * Exceptions should be {@link NullPointerException}, {@link IllegalArgumentException}, or
         * {@link UnsupportedOperationException}.
         */
        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top