Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for thrown (0.02 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            assertNotNull(testConverter);
        }
    
        @Test
        public void testInit() throws IOException {
            // Test init method (should do nothing)
            converter.init();
            // No exception should be thrown
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
            // Test convert with no languages specified
            String text = "test text";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        }
    
        /**
         * Test throwing and catching the exception
         */
        public void test_throwAndCatch() {
            try {
                throw new CrawlerSystemException("Test throw");
            } catch (CrawlerSystemException e) {
                assertEquals("Test throw", e.getMessage());
                assertNull(e.getCause());
            }
    
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
            SuggestUtil.deleteScrollContext(client, scrollId);
            // No exception should be thrown
        }
    
        @Test
        public void testEscapeWildcardQuery() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         *
         * @param client the FTPClient instance to validate
         * @throws CrawlingAccessException if the FTP request failed
         */
        private void validateRequest(final FTPClient client) {
            final int replyCode = client.getReplyCode();
            if (replyCode >= 200 && replyCode < 300) {
                return;
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * @throws IllegalArgumentException If the arguments are invalid
             * @throws InsufficientDataException If insufficient data is available
             * @throws InternalException If an internal error occurs
             * @throws InvalidResponseException If the response is invalid
             * @throws NoSuchAlgorithmException If the algorithm is not available
             * @throws XmlParserException If XML parsing fails
    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. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            @Override
            public void init() throws IOException {
                if (throwExceptionOnInit) {
                    throw new IOException("Init failed");
                }
            }
    
            @Override
            public List<String> convert(String text, String field, String... langs) throws IOException {
                if (throwExceptionOnConvert) {
                    throw new IOException("Convert failed");
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        /**
         * Creates a file with the specified path, handling directory creation and duplicate names.
         *
         * @param path the file path to create
         * @return the created file
         * @throws CrawlerSystemException if directory creation fails
         */
        protected File createFile(final String path) {
            final String[] paths = path.split("/");
            File targetFile = baseDir;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

         * @throws CrawlingAccessException if an error occurs while checking bucket existence
         */
        protected boolean bucketExists(final String name) {
            try {
                final BucketExistsArgs args = BucketExistsArgs.builder().bucket(name).build();
                return minioClient.bucketExists(args);
            } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17.9K bytes
    - Viewed (2)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            return this;
        }
    
        /**
         * Extracts data from the input stream using the configured parameters.
         *
         * @return the extracted data
         * @throws MaxLengthExceededException if content length exceeds maximum allowed
         * @throws ExtractException if extraction fails
         */
        public ExtractData extract() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

         *
         * @param uri the URI to get response data for
         * @param includeContent whether to include content in the response
         * @return the response data
         * @throws CrawlingAccessException if unable to access the URI
         * @throws ChildUrlsException if the URI represents a directory with child URLs
         */
        protected ResponseData getResponseData(final String uri, final boolean includeContent) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top