Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 628 for IllegalArgumentException (0.24 sec)

  1. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        StringSubscriber s1 = new StringSubscriber();
        registry.register(s1);
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        registry.unregister(s1);
    
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(s1));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            assertEquals(uuid, guid1.getUuid());
        }
    
        @Test
        public void testHandleGuidInvalidBytes() {
            assertThrows(IllegalArgumentException.class, () -> {
                new HandleGuid(new byte[8]); // Wrong length
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                new HandleGuid(new byte[20]); // Wrong length
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

        }
    
        @Test
        public void testDurableHandleReconnectInvalidFileId() {
            assertThrows(IllegalArgumentException.class, () -> {
                new DurableHandleReconnect(new byte[8]); // Wrong length
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
                new DurableHandleReconnect(new byte[20]); // Wrong length
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

     */
    package org.codelibs.core.exception;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * Exception that wraps {@link IllegalArgumentException}.
     *
     * @author koichik
     */
    public class ClIllegalArgumentException extends IllegalArgumentException {
    
        private static final long serialVersionUID = -3701473506893554853L;
    
        /** Name of the argument that is {@code null} */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val builder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.header(s, "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader(s, "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.header("Name", s)
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader("Name", s)
        }
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            info.updateFileId(testFileId);
            assertArrayEquals(testFileId, info.getFileId());
    
            // Test invalid file ID length
            assertThrows(IllegalArgumentException.class, () -> {
                info.updateFileId(new byte[8]);
            });
        }
    
        @Test
        public void testReconnectingState() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

         * @param keyList The list of keys to register this extractor under.
         */
        public void register(final List<String> keyList) {
            if (keyList == null || keyList.isEmpty()) {
                throw new IllegalArgumentException("keyList must not be null or empty.");
            }
            getExtractorFactory().addExtractor(keyList, this);
        }
    
        /**
         * Returns the MimeTypeHelper instance from the CrawlerContainer.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top