Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 863 for IllegalArgumentException (1.26 seconds)

  1. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * numbers of keys and values without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         *     case no change will be made.
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation
         *     would result in more than {@link Integer#MAX_VALUE} occurrences of the element
         */
        @CanIgnoreReturnValue
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    testEncryptionKey, testDecryptionKey);
    
            // When/Then
            assertThrows(IllegalArgumentException.class, () -> context.encryptMessage(null, 123456L),
                    "Should throw IllegalArgumentException for null message");
        }
    
        @Test
        @DisplayName("Should successfully encrypt and decrypt with refactored methods")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListeningExecutorService e = newDirectExecutorService();
        try {
          invokeAnyImpl(e, new ArrayList<Callable<String>>(), false, 0, NANOSECONDS);
          fail();
        } catch (IllegalArgumentException success) {
        } finally {
          joinPool(e);
        }
      }
    
      /** invokeAny(c) throws NPE if c has null elements */
      public void testInvokeAnyImpl_nullElement() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         */
        protected static java.sql.Date toSqlDateJdbcEscape(final String str) {
            try {
                return java.sql.Date.valueOf(str);
            } catch (final IllegalArgumentException ex) {
                return null;
            }
        }
    
        /**
         * Converts a pattern string to a plain pattern string without delimiters.
         *
         * @param pattern the pattern string
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

         */
        @Override
        public ResponseData doGet(final String url) {
            HttpUriRequest httpGet;
            try {
                httpGet = new HttpGet(url);
            } catch (final IllegalArgumentException e) {
                throw new CrawlingAccessException("The url may not be valid: " + url, e);
            }
            return doHttpMethod(url, httpGet);
        }
    
        /*
         * (non-Javadoc)
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.options = WRITE_OPTIONS;
                    this.access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
                } else {
                    throw new IllegalArgumentException("Invalid mode");
                }
    
                try (SmbFileHandle h = ensureOpen()) {}
                this.readSize = th.getReceiveBufferSize() - 70;
                this.writeSize = th.getSendBufferSize() - 70;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListeningExecutorService e = newDirectExecutorService();
        try {
          invokeAnyImpl(e, new ArrayList<Callable<String>>(), false, 0, NANOSECONDS);
          fail();
        } catch (IllegalArgumentException success) {
        } finally {
          joinPool(e);
        }
      }
    
      /** invokeAny(c) throws NPE if c has null elements */
      public void testInvokeAnyImpl_nullElement() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/LinkedHashMultimap.java

       * numbers of keys and values without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         * @return The converted {@link Time}.
         */
        protected static Time toSqlTimeJdbcEscape(final String str) {
            try {
                return Time.valueOf(str);
            } catch (final IllegalArgumentException ex) {
                return null;
            }
        }
    
        /**
         * Converts a pattern string to a plain pattern string without delimiters.
         *
         * @param pattern
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top