package com.crawler.exception;
public class HtmlParseException extends ParseException {
private String sourceUrl;
public HtmlParseException(String message, String sourceUrl) {
super(message);
this.sourceUrl = sourceUrl;
}
public HtmlParseException(String message, String sourceUrl, Throwable cause) {
super(message, cause);
this.sourceUrl = sourceUrl;
}
public String getSourceUrl() {
return sourceUrl;
}
}