Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IllegalArgumentException (0.08 sec)

  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.");
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (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.");
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (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/")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  6. 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);
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 156.4K bytes
    - Viewed (0)
Back to top