Package com.crawljax.core.exception
Class CrawlPathToException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.crawljax.core.exception.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 Summary
Fields Modifier and Type Field Description private static longserialVersionUIDGenerated serial version UID
-
Constructor Summary
Constructors Constructor Description CrawlPathToException(CrawlPath path)Build a newCrawlPathToExceptiongiven a path taken.CrawlPathToException(CrawlPath path, Throwable cause)Build a newCrawlPathToExceptiongiven a path taken.CrawlPathToException(String message, CrawlPath path)Build a newCrawlPathToExceptiongiven a path taken.CrawlPathToException(String message, CrawlPath path, Throwable cause)Build a newCrawlPathToExceptiongiven a path taken.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 newCrawlPathToExceptiongiven a path taken.- Parameters:
message- the message to supply with this exceptionpath- the CrawlPath taken that causes this exception.cause- the root cause of this exception.
-
CrawlPathToException
public CrawlPathToException(String message, CrawlPath path)
Build a newCrawlPathToExceptiongiven a path taken.- Parameters:
message- the message to supply with this exceptionpath- the CrawlPath taken that causes this exception.
-
CrawlPathToException
public CrawlPathToException(CrawlPath path, Throwable cause)
Build a newCrawlPathToExceptiongiven 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 newCrawlPathToExceptiongiven a path taken.- Parameters:
path- the CrawlPath taken that causes this exception.
-
-