Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 628 for IllegalArgumentException (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                write_andx_resp = new SmbComWriteAndXResponse();
                options = WRITE_OPTIONS;
                access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
            } else {
                throw new IllegalArgumentException("Invalid mode");
            }
            file.open(openFlags, access, SmbFile.ATTR_NORMAL, options);
            readSize = file.tree.session.transport.rcv_buf_size - 70;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                if (map != null) {
                    synonymMap = map;
                    fst = synonymMap.fst;
                    if (fst == null) {
                        throw new IllegalArgumentException("fst must be non-null");
                    }
                    fstReader = fst.getBytesReader();
                    scratchArc = new FST.Arc<>();
                    clearAttributes();
                }
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
        for (int i = 0; i < 100; i++) {
          builder.add("a");
        }
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> builder.addAll(nCopies(Integer.MAX_VALUE - 50, "a")));
        assertThat(expected)
            .hasMessageThat()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @DisplayName("Should throw exception when stripping more than consumed")
            void testStripMoreThanConsumed() {
                setupReferralDataWithPathConsumed(5);
    
                IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> referralData.stripPathConsumed(10));
                assertEquals("Stripping more than consumed", exception.getMessage());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> createWithExpectedSize(
          int expectedSize) {
        return new CompactLinkedHashSet<>(expectedSize);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

            try {
                field.set(target, value);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e);
            } catch (final IllegalArgumentException e) {
                final Class<?> clazz = field.getDeclaringClass();
                final Class<?> fieldClass = field.getType();
                final Class<?> valueClass = value == null ? null : value.getClass();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        this.entries = entries;
        this.mask = mask;
        this.hashCode = hashCode;
      }
    
      // checkNoConflictInKeyBucket is static imported from RegularImmutableMap
    
      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. 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;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeResolver.java

            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
       * Resolves all type variables in {@code type} and all downstream types and returns a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top