Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 863 for IllegalArgumentException (0.21 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessEventType.java

         * @return the corresponding WitnessEventType
         * @throws IllegalArgumentException if value is not recognized
         */
        public static WitnessEventType fromValue(int value) {
            for (WitnessEventType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
            throw new IllegalArgumentException("Unknown witness event type: " + value);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            // Test with IllegalArgumentException
            IllegalArgumentException argException = new IllegalArgumentException("Invalid URL format");
            DataStoreCrawlingException exception2 = new DataStoreCrawlingException(url, message, argException);
            assertTrue(exception2.getCause() instanceof IllegalArgumentException);
    
            // Test with RuntimeException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/PercentEscaper.java

       *     ranges 0..9, a..z and A..Z are always safe and should not be specified here)
       * @param plusForSpace true if ASCII space should be escaped to {@code +} rather than {@code %20}
       * @throws IllegalArgumentException if any of the parameters were invalid
       */
      public PercentEscaper(String safeChars, boolean plusForSpace) {
        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

        /**
         * Creates artifact coordinates.
         *
         * @param request the request holding coordinates creation parameters
         * @return an {@code ArtifactCoordinates}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
         */
        @Nonnull
        ArtifactCoordinates create(@Nonnull ArtifactCoordinatesFactoryRequest request);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestBasePlugin.java

                if (systemProperty(TESTS_REST_CLUSTER) == null) {
                    if (systemProperty(TESTS_CLUSTER) != null || systemProperty(TESTS_CLUSTER_NAME) != null) {
                        throw new IllegalArgumentException(
                            String.format("%s, %s, and %s must all be null or non-null", TESTS_REST_CLUSTER, TESTS_CLUSTER, TESTS_CLUSTER_NAME)
                        );
                    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 05 18:56:52 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertThat(japaneseToSpanish.apply("Ichi")).isEqualTo("Uno");
        assertThrows(IllegalArgumentException.class, () -> japaneseToSpanish.apply("Ni"));
        assertThat(japaneseToSpanish.apply("San")).isEqualTo("Tres");
        assertThrows(IllegalArgumentException.class, () -> japaneseToSpanish.apply("Shi"));
    
        new EqualsTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      }
    
      private static void assertCastFails(long value) {
        try {
          SignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/IndexExportJob.java

         *
         * @param format the format name
         * @return the formatter instance
         * @throws IllegalArgumentException if the format is null, empty, or not supported
         */
        protected IndexExportFormatter createFormatter(final String format) {
            if (format == null || format.trim().isEmpty()) {
                throw new IllegalArgumentException("Export format must not be null or empty");
            }
            switch (format.trim().toLowerCase()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertThat(japaneseToSpanish.apply("Ichi")).isEqualTo("Uno");
        assertThrows(IllegalArgumentException.class, () -> japaneseToSpanish.apply("Ni"));
        assertThat(japaneseToSpanish.apply("San")).isEqualTo("Tres");
        assertThrows(IllegalArgumentException.class, () -> japaneseToSpanish.apply("Shi"));
    
        new EqualsTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                            } else {
                                throw new IllegalArgumentException("Unrecognized entry: " + l);
                            }
                            String[] parts = l.split(splitExpr);
                            if (parts.length < 1) {
                                throw new IllegalArgumentException("Unrecognized entry: " + l);
                            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top