Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 695 for IllegalArgumentException (0.11 seconds)

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

  1. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            Exception cause = new IllegalArgumentException("Root cause");
            Exception exception = new RuntimeException("Wrapper exception", cause);
    
            monitorTarget.appendException(buf, exception);
            assertTrue(buf.toString().contains("Wrapper exception"));
            assertTrue(buf.toString().contains("Root cause"));
            assertTrue(buf.toString().contains("IllegalArgumentException"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         *
         * @param request the request containing the various data
         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

        protected AbstractLifecycleMappingProvider(String[] pluginBindings) {
            requireNonNull(pluginBindings);
            final int len = pluginBindings.length;
            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
            HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);
            for (int i = 0; i < len; i = i + 2) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 22 12:24:35 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      /** Can't create the map if more than one value maps to the same key. */
      public void testUniqueIndexDuplicates() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> Maps.uniqueIndex(ImmutableSet.of("one", "uno"), Functions.constant(1)));
        assertThat(expected).hasMessageThat().contains("Multimaps.index");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/MacHashFunction.java

          mac.init(key);
          return mac;
        } catch (NoSuchAlgorithmException e) {
          throw new IllegalStateException(e);
        } catch (InvalidKeyException e) {
          throw new IllegalArgumentException(e);
        }
      }
    
      @Override
      public Hasher newHasher() {
        if (supportsClone) {
          try {
            return new MacHasher((Mac) prototype.clone());
          } catch (CloneNotSupportedException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

      }
    
      public void testHashCodeNull() {
        assertEquals(control(NE, 1).hashCode(), entry(NE, 1).hashCode());
      }
    
      public void testNegativeCount() {
        assertThrows(IllegalArgumentException.class, () -> entry("foo", -1));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

      /**
       * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct
       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
      public static <E extends @Nullable Object> LinkedHashMultiset<E> create(int distinctElements) {
        return new LinkedHashMultiset<>(distinctElements);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

      private static Class<? extends Annotation> asAnnotation(Class<?> clazz) {
        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                try {
                    return CommonsCliOptions.parse(
                            "test", context.parserRequest.args().toArray(new String[0]));
                } catch (ParseException e) {
                    throw new IllegalArgumentException(e);
                }
            }
        };
    
        @Test
        void happy() {
            InvokerRequest invokerRequest =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top