Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for IllegalArgumentException (0.34 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

          V value = values.next();
          builder.put(keyFunction.apply(value), value);
        }
        try {
          return builder.buildOrThrow();
        } catch (IllegalArgumentException duplicateKeys) {
          throw new IllegalArgumentException(
              duplicateKeys.getMessage()
                  + ". To index multiple values under a key, use Multimaps.index.");
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Maps.java

          V value = values.next();
          builder.put(keyFunction.apply(value), value);
        }
        try {
          return builder.buildOrThrow();
        } catch (IllegalArgumentException duplicateKeys) {
          throw new IllegalArgumentException(
              duplicateKeys.getMessage()
                  + ". To index multiple values under a key, use Multimaps.index.");
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      @Test
      fun requestHeaderValidationIsStrict() {
        assertFailsWith<IllegalArgumentException> {
          Request
            .Builder()
            .addHeader("a\tb", "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          Request
            .Builder()
            .addHeader("Name", "c\u007fd")
        }
        assertFailsWith<IllegalArgumentException> {
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFile.java

            if (dest == null) {
                throw new IllegalArgumentException("Destination cannot be null");
            }
            if (b == null || b.length == 0) {
                throw new IllegalArgumentException("Buffer array cannot be null or empty");
            }
            if (bsize <= 0) {
                throw new IllegalArgumentException("Buffer size must be positive");
            }
    
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("ftp://hostname/path")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
        }
      }
    
      @Test
      fun invalidPort() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("http://localhost:65536/")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         *
         * @throws ExecutionException if {@code closingFuture} is a failed step
         * @throws CancellationException if the {@code closingFuture}'s future was cancelled
         * @throws IllegalArgumentException if {@code closingFuture} is not one of the futures passed to
         *     {@link #whenAllComplete(Iterable)} or {@link #whenAllComplete(Iterable)}
         * @throws IllegalStateException if called outside of a call to {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            input -> {
              for (TestFuture future : allFutures) {
                if (future.future == input) {
                  return future.name;
                }
              }
              throw new IllegalArgumentException(input.toString());
            };
    
        static boolean intersect(Set<?> a, Set<?> b) {
          return !intersection(a, b).isEmpty();
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            input -> {
              for (TestFuture future : allFutures) {
                if (future.future == input) {
                  return future.name;
                }
              }
              throw new IllegalArgumentException(input.toString());
            };
    
        static boolean intersect(Set<?> a, Set<?> b) {
          return !intersection(a, b).isEmpty();
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

         */
        protected void assertPropertyNotNull(String property) {
            if (property == null) {
                String msg = "The argument 'property' for message should not be null.";
                throw new IllegalArgumentException(msg);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 172.6K bytes
    - Click Count (0)
Back to Top