Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for IllegalArgumentException (0.08 sec)

  1. 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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

         *
         * @param defaultEncoding the default encoding to set
         * @throws IllegalArgumentException if the default encoding is blank
         */
        public void setDefaultEncoding(final String defaultEncoding) {
            if (StringUtil.isBlank(defaultEncoding)) {
                throw new IllegalArgumentException("Default encoding must not be blank.");
            }
            this.defaultEncoding = defaultEncoding;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

            try {
                settings.badword().add("aaaa");
                assertTrue(true);
            } catch (IllegalArgumentException e) {
                fail();
            }
    
            try {
                settings.badword().add("");
                fail();
            } catch (IllegalArgumentException e) {
                assertTrue(true);
            }
    
            try {
                settings.badword().add("aaaa bbb");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                fail("Should throw IllegalArgumentException for empty string");
            } catch (IllegalArgumentException e) {
                // Expected
            }
    
            try {
                CrawlerStatus.valueOf(" RUNNING "); // with spaces
                fail("Should throw IllegalArgumentException for value with spaces");
            } catch (IllegalArgumentException e) {
                // Expected
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    return minioClient.getObject(args);
                } catch (InvalidKeyException | ErrorResponseException | IllegalArgumentException | InsufficientDataException | InternalException
                        | InvalidResponseException | NoSuchAlgorithmException | XmlParserException | IOException | ServerException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            Exception cause = new IllegalArgumentException("Root cause");
            CrawlerSystemException exception = new CrawlerSystemException(cause);
    
            assertNotNull(exception);
            assertSame(cause, exception.getCause());
            // When constructed with cause only, message should be cause's toString()
            assertEquals("java.lang.IllegalArgumentException: Root cause", exception.getMessage());
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            }
    
            final String validationError = getValidationError(badWord);
            if (validationError != null) {
                throw new IllegalArgumentException("Validation error. " + validationError);
            }
            arraySettings.add(BAD_WORD_SETTINGD_KEY, badWord);
        }
    
        /**
         * Delete a bad word.
         * @param badWord Bad word
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                            .execute()
                            .actionGet(settings.getIndicesTimeout());
                    return analyzeResponse.getTokens();
                } catch (final IllegalArgumentException e) {
                    return analyze(text, field, lang);
                }
            }
        }
    
        /**
         * Check if the language is supported.
         * @param lang Language
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

         * @param maxClientFactorySize The maximum size.
         */
        public void setMaxClientFactorySize(final int maxClientFactorySize) {
            if (maxClientFactorySize <= 0) {
                throw new IllegalArgumentException("maxClientFactorySize must be positive.");
            }
            this.maxClientFactorySize = maxClientFactorySize;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/Request.java

         */
        public Deferred<T>.Promise execute(final Client client) {
            final String error = getValidationError();
            if (!Strings.isNullOrEmpty(error)) {
                throw new IllegalArgumentException(error);
            }
    
            final Deferred<T> deferred = new Deferred<>();
            try {
                processRequest(client, deferred);
            } catch (final Exception e) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top