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.
28 lines
685 B
28 lines
685 B
package com.crawler.exception;
|
|
|
|
public class CacheException extends CrawlerException {
|
|
|
|
private String filePath;
|
|
|
|
public CacheException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public CacheException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
|
|
public CacheException(String message, String filePath) {
|
|
super(message);
|
|
this.filePath = filePath;
|
|
}
|
|
|
|
public CacheException(String message, String filePath, Throwable cause) {
|
|
super(message, cause);
|
|
this.filePath = filePath;
|
|
}
|
|
|
|
public String getFilePath() {
|
|
return filePath;
|
|
}
|
|
}
|