Class DataStoreCrawlingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.crawler.exception.CrawlerSystemException
org.codelibs.fess.crawler.exception.CrawlingAccessException
org.codelibs.fess.exception.DataStoreCrawlingException
All Implemented Interfaces:
Serializable

public class DataStoreCrawlingException extends org.codelibs.fess.crawler.exception.CrawlingAccessException
Exception thrown when an error occurs during data store crawling operations. This exception provides information about the URL where the error occurred and whether the crawling process should be aborted.
See Also:
  • Constructor Details

    • DataStoreCrawlingException

      public DataStoreCrawlingException(String url, String message, Throwable cause)
      Creates a new DataStoreCrawlingException with the specified URL, message, and cause. The abort flag is set to false by default.
      Parameters:
      url - the URL where the crawling error occurred
      message - the error message
      cause - the underlying exception that caused this error
    • DataStoreCrawlingException

      public DataStoreCrawlingException(String url, String message, Throwable cause, boolean abort)
      Creates a new DataStoreCrawlingException with the specified URL, message, cause, and abort flag.
      Parameters:
      url - the URL where the crawling error occurred
      message - the error message
      cause - the underlying exception that caused this error
      abort - whether the crawling process should be aborted due to this error
  • Method Details

    • getUrl

      public String getUrl()
      Gets the URL where the crawling error occurred.
      Returns:
      the URL associated with this exception
    • aborted

      public boolean aborted()
      Checks whether the crawling process should be aborted due to this exception.
      Returns:
      true if the crawling should be aborted, false otherwise