Class CrawlPathToException

  • All Implemented Interfaces:
    Serializable

    public class CrawlPathToException
    extends Exception
    This exception wraps a CrawlPath into a Throwable. Basically providing a StackTrace of the Path taken to reach an Exception point.
    Author:
    slenselink@google.com (Stefan Lenselink)
    See Also:
    Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Generated serial version UID
        See Also:
        Constant Field Values
    • Constructor Detail

      • CrawlPathToException

        public CrawlPathToException​(String message,
                                    CrawlPath path,
                                    Throwable cause)
        Build a new CrawlPathToException given a path taken.
        Parameters:
        message - the message to supply with this exception
        path - the CrawlPath taken that causes this exception.
        cause - the root cause of this exception.
      • CrawlPathToException

        public CrawlPathToException​(String message,
                                    CrawlPath path)
        Build a new CrawlPathToException given a path taken.
        Parameters:
        message - the message to supply with this exception
        path - the CrawlPath taken that causes this exception.
      • CrawlPathToException

        public CrawlPathToException​(CrawlPath path,
                                    Throwable cause)
        Build a new CrawlPathToException given a path taken.
        Parameters:
        path - the CrawlPath taken that causes this exception.
        cause - the root cause of this exception.
      • CrawlPathToException

        public CrawlPathToException​(CrawlPath path)
        Build a new CrawlPathToException given a path taken.
        Parameters:
        path - the CrawlPath taken that causes this exception.