You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
478 B
19 lines
478 B
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;
|
|
}
|
|
}
|