Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for CrawlingAccessException (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

        /**
         * Constructs a new CrawlingAccessException with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause
         */
        public CrawlingAccessException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new CrawlingAccessException with the specified detail message.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb1://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("http://localhost/");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                }
                // gz
                bis.reset();
                return parse(new GZIPInputStream(bis), false);
            } catch (final CrawlingAccessException e) {
                throw e;
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not parse Sitemaps: " + preloadDate, e);
            }
        }
    
        /**
         * Parses a text-based sitemap from the given input stream.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

         *
         * @param objs the log objects (should contain UrlQueue and CrawlingAccessException)
         */
        protected void processCrawlingAccessException(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
            final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
            final CrawlingAccessException e = (CrawlingAccessException) objs[2];
            if (e.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MaxLengthExceededException.java

    /**
     * MaxLengthExceededException is thrown when the content length exceeds the maximum allowed length.
     * It extends CrawlingAccessException, indicating a crawling-related access issue.
     *
     */
    public class MaxLengthExceededException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new MaxLengthExceededException with the specified detail message.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

                // NOP
            }
        }
    
        public void test_parseXmlSitemaps_invalid4() {
            final byte[] bytes = "<sitemap".getBytes();
            final InputStream in = new ByteArrayInputStream(bytes);
    
            try {
                sitemapsHelper.parse(in);
                fail();
            } catch (final CrawlingAccessException e) {
                // NOP
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        }
    
        /**
         * Validates the FTP request by checking the reply code from the FTP server.
         * If the reply code indicates an error, a CrawlingAccessException is thrown.
         *
         * @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();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.extractor.Extractor;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    
    import jakarta.annotation.Resource;
    
    /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

     * This exception holds an array of Throwable objects representing the individual causes.
     * It extends CrawlingAccessException and provides methods to print the stack traces of all causes.
     *
     */
    public class MultipleCrawlingAccessException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The array of throwables that caused this exception.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top