diff --git a/src/main/java/com/loafle/overflow/crawler/Crawler.java b/src/main/java/com/loafle/overflow/crawler/Crawler.java index bc5b1b3..f9408e7 100644 --- a/src/main/java/com/loafle/overflow/crawler/Crawler.java +++ b/src/main/java/com/loafle/overflow/crawler/Crawler.java @@ -2,6 +2,7 @@ package com.loafle.overflow.crawler; import java.util.Map; +import com.loafle.overflow.module.core.exception.OverflowException; import com.loafle.overflow.module.sensorconfig.model.SensorConfig; /** @@ -10,6 +11,6 @@ import com.loafle.overflow.module.sensorconfig.model.SensorConfig; public interface Crawler { String name(); String toString(); - void auth(Map authInfo); - Map get(SensorConfig sensorConfig); + void auth(Map authInfo) throws OverflowException; + Map get(SensorConfig sensorConfig) throws OverflowException; } \ No newline at end of file