From 2f3fb05b67266cd8588e4f3522ebc7e982ab2f7e Mon Sep 17 00:00:00 2001 From: insanity Date: Tue, 24 Apr 2018 18:47:15 +0900 Subject: [PATCH] ing --- ...AuthService.java => EmailAuthService.java} | 2 +- .../generator/service/GenerateUtil.java | 20 +++++----- .../generator/service/InfraHostGenerator.java | 40 ++++++++++--------- .../service/InfraHostWMIGenerator.java | 9 +++-- .../service/InfraServiceGenerator.java | 24 +++++------ .../service/InfraServiceJMXGenerator.java | 10 ++--- .../service/InfraServiceMysqlGenerator.java | 12 ++++-- .../service/SensorConfigGenerator.java | 16 ++++---- .../exception/InfraNotFoundException.java | 16 -------- .../infra/service/CentralInfraService.java | 1 - .../member/service/CentralMemberService.java | 2 - .../service/CentralNoAuthProbeService.java | 2 +- .../CentralSensorItemDependencyService.java | 4 +- .../service/CentralSensorItemService.java | 2 +- .../exception/TargetNotFoundException.java | 18 --------- 15 files changed, 77 insertions(+), 101 deletions(-) rename src/main/java/com/loafle/overflow/central/module/email/service/{CentralEmailAuthService.java => EmailAuthService.java} (99%) delete mode 100644 src/main/java/com/loafle/overflow/central/module/infra/exception/InfraNotFoundException.java delete mode 100644 src/main/java/com/loafle/overflow/central/module/target/exception/TargetNotFoundException.java diff --git a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java b/src/main/java/com/loafle/overflow/central/module/email/service/EmailAuthService.java similarity index 99% rename from src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java rename to src/main/java/com/loafle/overflow/central/module/email/service/EmailAuthService.java index c07e622..1cf49d2 100644 --- a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java +++ b/src/main/java/com/loafle/overflow/central/module/email/service/EmailAuthService.java @@ -27,7 +27,7 @@ import java.util.*; * Created by geek on 17. 6. 28. */ @Service("EmailAuthService") -public class CentralEmailAuthService { +public class EmailAuthService { @Autowired private EmailAuthDAO emailAuthDAO; diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java b/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java index f9a46bb..515fd2e 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/GenerateUtil.java @@ -1,12 +1,14 @@ package com.loafle.overflow.central.module.generator.service; +import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.crawler.config.Crawler; import com.loafle.overflow.crawler.config.Keys; -import com.loafle.overflow.central.module.meta.model.MetaCrawler; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; -import com.loafle.overflow.central.module.meta.service.MetaSensorItemKeyService; -import com.loafle.overflow.central.module.meta.type.MetaCrawlerEnum; -import com.loafle.overflow.central.module.sensor.model.SensorItem; +import com.loafle.overflow.model.meta.MetaCrawler; +import com.loafle.overflow.model.meta.MetaSensorItemKey; +import com.loafle.overflow.model.meta.type.MetaCrawlerEnum; +import com.loafle.overflow.model.sensor.SensorItem; +import com.loafle.overflow.service.central.meta.MetaSensorItemKeyService; + import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -28,7 +30,7 @@ public class GenerateUtil { private Map> mappingMap = null; - public Map initMappingMap(MetaCrawler metaCrawler) { + public Map initMappingMap(MetaCrawler metaCrawler) throws OverflowException { if(this.mappingMap == null) { this.mappingMap = new HashMap<>(); @@ -48,7 +50,7 @@ public class GenerateUtil { - public Crawler getCrawler(MetaCrawler metaCrawler) { + public Crawler getCrawler(MetaCrawler metaCrawler) throws OverflowException { Crawler crawler = new Crawler(); crawler.setName(metaCrawler.getName()); @@ -76,7 +78,7 @@ public class GenerateUtil { - public Map> sortItems(List sensorItems, Map keyMap) { + public Map> sortItems(List sensorItems, Map keyMap) throws OverflowException { Map> metricMap = new HashMap<>(); @@ -93,7 +95,7 @@ public class GenerateUtil { return metricMap; } - public Keys createKeys(MetaSensorItemKey itemKey) { + public Keys createKeys(MetaSensorItemKey itemKey) throws OverflowException { Keys keys = new Keys(); keys.setKey(itemKey.getKey()); keys.setMetric(itemKey.getItem().getKey()); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java index cb53f60..2baa385 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostGenerator.java @@ -1,24 +1,25 @@ package com.loafle.overflow.central.module.generator.service; import com.loafle.overflow.central.commons.utils.StringConvertor; +import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.crawler.config.Config; import com.loafle.overflow.crawler.config.Connection; import com.loafle.overflow.crawler.config.Crawler; import com.loafle.overflow.crawler.config.Schedule; -import com.loafle.overflow.central.module.auth.model.AuthCrawler; -import com.loafle.overflow.central.module.auth.service.AuthCrawlerService; -import com.loafle.overflow.central.module.infra.model.Infra; -import com.loafle.overflow.central.module.infra.model.InfraHost; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; -import com.loafle.overflow.central.module.meta.type.MetaCrawlerEnum; -import com.loafle.overflow.central.module.sensor.model.Sensor; -import com.loafle.overflow.central.module.sensor.model.SensorItem; +import com.loafle.overflow.model.auth.AuthCrawler; +import com.loafle.overflow.model.infra.Infra; +import com.loafle.overflow.model.infra.InfraHost; +import com.loafle.overflow.model.meta.MetaSensorItemKey; +import com.loafle.overflow.model.meta.type.MetaCrawlerEnum; +import com.loafle.overflow.model.sensor.Sensor; +import com.loafle.overflow.model.sensor.SensorItem; +import com.loafle.overflow.service.central.auth.AuthCrawlerService; + import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -38,16 +39,16 @@ public class InfraHostGenerator { @Autowired private AuthCrawlerService authCrawlerService; - public String process(Sensor dbSensor, List sensorItems, Infra infra) throws IOException { + public String process(Sensor dbSensor, List sensorItems, Infra infra) throws Exception { - InfraHost infraHost = (InfraHost)infra; + InfraHost infraHost = (InfraHost) infra; Config config = new Config(); config.setId(String.valueOf(dbSensor.getId())); com.loafle.overflow.crawler.config.Target target = this.createTarget(infraHost, dbSensor); - if(target == null) { + if (target == null) { return null; } @@ -63,7 +64,7 @@ public class InfraHostGenerator { Map keyMap = this.generateUtil.initMappingMap(dbSensor.getCrawler()); - if(dbSensor.getCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { + if (dbSensor.getCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { this.infraHostWMIGenerator.process(sensorItems, keyMap, dbSensor, config); } @@ -71,11 +72,12 @@ public class InfraHostGenerator { return objectMapper.writeValueAsString(config); } - private com.loafle.overflow.crawler.config.Target createTarget(InfraHost infraHost, Sensor dbSensor) throws IOException { + private com.loafle.overflow.crawler.config.Target createTarget(InfraHost infraHost, Sensor dbSensor) + throws Exception { AuthCrawler authCrawler = this.authCrawlerService.readAuth(dbSensor.getCrawler(), dbSensor.getTarget()); - if(authCrawler == null) { + if (authCrawler == null) { return null; } @@ -83,10 +85,12 @@ public class InfraHostGenerator { Connection connection = new Connection(); connection.setIp(StringConvertor.intToIp(infraHost.getIp())); - HashMap optionMap; - optionMap = new ObjectMapper().readValue(authCrawler.getAuthJson(), new TypeReference>() {}); + HashMap optionMap; + optionMap = new ObjectMapper().readValue(authCrawler.getAuthJson(), + new TypeReference>() { + }); - if(dbSensor.getCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { + if (dbSensor.getCrawler().getId() == MetaCrawlerEnum.WMI_CRAWLER.getValue()) { connection.setPort("135"); connection.setPortType("tcp"); connection.setSsl(false); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostWMIGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostWMIGenerator.java index 13c054b..0114104 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostWMIGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraHostWMIGenerator.java @@ -1,9 +1,10 @@ package com.loafle.overflow.central.module.generator.service; import com.loafle.overflow.crawler.config.*; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; -import com.loafle.overflow.central.module.sensor.model.Sensor; -import com.loafle.overflow.central.module.sensor.model.SensorItem; +import com.loafle.overflow.model.meta.MetaSensorItemKey; +import com.loafle.overflow.model.sensor.Sensor; +import com.loafle.overflow.model.sensor.SensorItem; + import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import org.springframework.beans.factory.annotation.Autowired; @@ -24,7 +25,7 @@ public class InfraHostWMIGenerator { @Autowired private GenerateUtil generateUtil; - public void process(List sensorItems, Map keyMap, Sensor dbSensor, Config config) throws IOException { + public void process(List sensorItems, Map keyMap, Sensor dbSensor, Config config) throws Exception { Map> metricMap = null; metricMap = this.generateUtil.sortItems(sensorItems, keyMap); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java index f3879bc..442ba94 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceGenerator.java @@ -2,15 +2,15 @@ package com.loafle.overflow.central.module.generator.service; import com.loafle.overflow.central.commons.utils.StringConvertor; import com.loafle.overflow.crawler.config.*; -import com.loafle.overflow.central.module.auth.model.AuthCrawler; -import com.loafle.overflow.central.module.auth.service.AuthCrawlerService; -import com.loafle.overflow.central.module.infra.model.Infra; -import com.loafle.overflow.central.module.infra.model.InfraService; -import com.loafle.overflow.central.module.meta.model.MetaCrawler; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; -import com.loafle.overflow.central.module.meta.type.MetaCrawlerEnum; -import com.loafle.overflow.central.module.sensor.model.Sensor; -import com.loafle.overflow.central.module.sensor.model.SensorItem; +import com.loafle.overflow.model.auth.AuthCrawler; +import com.loafle.overflow.model.infra.Infra; +import com.loafle.overflow.model.infra.InfraService; +import com.loafle.overflow.model.meta.MetaSensorItemKey; +import com.loafle.overflow.model.meta.type.MetaCrawlerEnum; +import com.loafle.overflow.model.sensor.Sensor; +import com.loafle.overflow.model.sensor.SensorItem; +import com.loafle.overflow.service.central.auth.AuthCrawlerService; + import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import org.springframework.beans.factory.annotation.Autowired; @@ -39,8 +39,8 @@ public class InfraServiceGenerator { @Autowired private AuthCrawlerService authCrawlerService; - public String process(Sensor dbSensor, List sensorItems, Infra infra) throws IOException { - com.loafle.overflow.central.module.infra.model.InfraService infraService = (com.loafle.overflow.central.module.infra.model.InfraService)infra; + public String process(Sensor dbSensor, List sensorItems, Infra infra) throws Exception { + com.loafle.overflow.model.infra.InfraService infraService = (com.loafle.overflow.model.infra.InfraService)infra; Config config = new Config(); config.setId(String.valueOf(dbSensor.getId())); @@ -74,7 +74,7 @@ public class InfraServiceGenerator { return objectMapper.writeValueAsString(config); } - private Target createTarget(InfraService infraService, Sensor sensor) throws IOException { + private Target createTarget(InfraService infraService, Sensor sensor) throws Exception { AuthCrawler authCrawler = this.authCrawlerService.readAuth(sensor.getCrawler(), sensor.getTarget()); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceJMXGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceJMXGenerator.java index 17b318e..f0b1f5c 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceJMXGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceJMXGenerator.java @@ -1,15 +1,15 @@ package com.loafle.overflow.central.module.generator.service; import com.loafle.overflow.crawler.config.*; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; -import com.loafle.overflow.central.module.sensor.model.Sensor; -import com.loafle.overflow.central.module.sensor.model.SensorItem; +import com.loafle.overflow.model.meta.MetaSensorItemKey; +import com.loafle.overflow.model.sensor.Sensor; +import com.loafle.overflow.model.sensor.SensorItem; + import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -24,7 +24,7 @@ public class InfraServiceJMXGenerator { @Autowired private GenerateUtil generateUtil; - public void process(List sensorItems, Map keyMap, Sensor dbSensor, Config config) throws IOException { + public void process(List sensorItems, Map keyMap, Sensor dbSensor, Config config) throws Exception { Map> metricMap = null; metricMap = this.generateUtil.sortItems(sensorItems, keyMap); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceMysqlGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceMysqlGenerator.java index 263d743..f99678f 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceMysqlGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/InfraServiceMysqlGenerator.java @@ -1,9 +1,13 @@ package com.loafle.overflow.central.module.generator.service; +import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.crawler.config.*; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; -import com.loafle.overflow.central.module.sensor.model.Sensor; -import com.loafle.overflow.central.module.sensor.model.SensorItem; +import com.loafle.overflow.model.meta.MetaSensorItemKey; +import com.loafle.overflow.model.sensor.Sensor; +import com.loafle.overflow.model.sensor.SensorItem; + +import org.codehaus.jackson.JsonParseException; +import org.codehaus.jackson.map.JsonMappingException; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import org.springframework.beans.factory.annotation.Autowired; @@ -24,7 +28,7 @@ public class InfraServiceMysqlGenerator { @Autowired private GenerateUtil generateUtil; - public void process(List sensorItems, Map keyMap, Sensor dbSensor, Config config) throws IOException { + public void process(List sensorItems, Map keyMap, Sensor dbSensor, Config config) throws Exception { // List keysList = new ArrayList<>(); diff --git a/src/main/java/com/loafle/overflow/central/module/generator/service/SensorConfigGenerator.java b/src/main/java/com/loafle/overflow/central/module/generator/service/SensorConfigGenerator.java index 7f23b75..aba3df4 100644 --- a/src/main/java/com/loafle/overflow/central/module/generator/service/SensorConfigGenerator.java +++ b/src/main/java/com/loafle/overflow/central/module/generator/service/SensorConfigGenerator.java @@ -1,11 +1,5 @@ package com.loafle.overflow.central.module.generator.service; -import com.loafle.overflow.central.commons.model.PageParams; -import com.loafle.overflow.central.module.infra.model.Infra; -import com.loafle.overflow.central.module.infra.service.InfraService; -import com.loafle.overflow.central.module.sensor.model.Sensor; -import com.loafle.overflow.central.module.sensor.model.SensorItem; -import com.loafle.overflow.central.module.sensor.service.SensorItemService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Service; @@ -13,6 +7,14 @@ import org.springframework.stereotype.Service; import java.io.IOException; import java.util.List; +import com.loafle.overflow.core.exception.OverflowException; +import com.loafle.overflow.core.model.PageParams; +import com.loafle.overflow.model.infra.Infra; +import com.loafle.overflow.model.sensor.Sensor; +import com.loafle.overflow.model.sensor.SensorItem; +import com.loafle.overflow.service.central.infra.InfraService; +import com.loafle.overflow.service.central.sensor.SensorItemService; + /** * Created by snoop on 17. 9. 6. */ @@ -32,7 +34,7 @@ public class SensorConfigGenerator { private InfraServiceGenerator infraServiceGenerator; - public String generate(Sensor sensor) throws IOException { + public String generate(Sensor sensor) throws OverflowException { PageParams pageParams = new PageParams(); pageParams.setPageNo(0); pageParams.setCountPerPage(Integer.MAX_VALUE); diff --git a/src/main/java/com/loafle/overflow/central/module/infra/exception/InfraNotFoundException.java b/src/main/java/com/loafle/overflow/central/module/infra/exception/InfraNotFoundException.java deleted file mode 100644 index 4bc55f8..0000000 --- a/src/main/java/com/loafle/overflow/central/module/infra/exception/InfraNotFoundException.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.loafle.overflow.central.module.infra.exception; - -import com.loafle.overflow.central.commons.exception.OverflowRuntimeException; - -/** - * Created by snoop on 17. 9. 14. - */ -public class InfraNotFoundException extends OverflowRuntimeException { - public InfraNotFoundException() { - super(); - } - - public InfraNotFoundException(String message) { - super(message); - } -} diff --git a/src/main/java/com/loafle/overflow/central/module/infra/service/CentralInfraService.java b/src/main/java/com/loafle/overflow/central/module/infra/service/CentralInfraService.java index d001e61..da6b4d1 100644 --- a/src/main/java/com/loafle/overflow/central/module/infra/service/CentralInfraService.java +++ b/src/main/java/com/loafle/overflow/central/module/infra/service/CentralInfraService.java @@ -2,7 +2,6 @@ package com.loafle.overflow.central.module.infra.service; import com.loafle.overflow.central.commons.utils.PageUtil; import com.loafle.overflow.central.module.infra.dao.InfraDAO; -import com.loafle.overflow.central.module.probe.exception.ProbeNotFoundException; import com.loafle.overflow.core.model.PageParams; import com.loafle.overflow.model.domain.Domain; import com.loafle.overflow.model.probe.Probe; diff --git a/src/main/java/com/loafle/overflow/central/module/member/service/CentralMemberService.java b/src/main/java/com/loafle/overflow/central/module/member/service/CentralMemberService.java index dd568f9..0702652 100644 --- a/src/main/java/com/loafle/overflow/central/module/member/service/CentralMemberService.java +++ b/src/main/java/com/loafle/overflow/central/module/member/service/CentralMemberService.java @@ -2,8 +2,6 @@ package com.loafle.overflow.central.module.member.service; import com.loafle.overflow.central.commons.stereotype.WebappAPI; import com.loafle.overflow.central.commons.utils.EmailSender; - -import com.loafle.overflow.central.module.email.service.EmailAuthService; import com.loafle.overflow.central.module.member.dao.MemberDAO; import com.loafle.overflow.central.module.member.exception.*; diff --git a/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java b/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java index abca3c9..f7d5d01 100644 --- a/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java +++ b/src/main/java/com/loafle/overflow/central/module/noauthprobe/service/CentralNoAuthProbeService.java @@ -80,7 +80,7 @@ public class CentralNoAuthProbeService implements NoAuthProbeService{ } @WebappAPI - public List acceptNoAuthProbe(NoAuthProbe noAuthProbe) throws IOException { + public List acceptNoAuthProbe(NoAuthProbe noAuthProbe) throws OverflowException { String memberEmail = SessionMetadata.getTargetID(); // Todo domain injection & member injection diff --git a/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemDependencyService.java b/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemDependencyService.java index 5629e92..3aa4bba 100644 --- a/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemDependencyService.java +++ b/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemDependencyService.java @@ -1,8 +1,8 @@ package com.loafle.overflow.central.module.sensor.service; -import com.loafle.overflow.central.module.meta.model.MetaSensorDisplayItem; -import com.loafle.overflow.central.module.meta.model.MetaSensorItemKey; import com.loafle.overflow.central.module.sensor.dao.SensorItemDependencyDAO; +import com.loafle.overflow.model.meta.MetaSensorDisplayItem; +import com.loafle.overflow.model.meta.MetaSensorItemKey; import com.loafle.overflow.model.sensor.SensorItemDependency; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemService.java b/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemService.java index 7f49f4c..f81032e 100644 --- a/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemService.java +++ b/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorItemService.java @@ -1,9 +1,9 @@ package com.loafle.overflow.central.module.sensor.service; -import com.loafle.overflow.central.commons.model.PageParams; import com.loafle.overflow.central.commons.utils.PageUtil; import com.loafle.overflow.central.module.sensor.dao.SensorDAO; import com.loafle.overflow.central.module.sensor.dao.SensorItemDAO; +import com.loafle.overflow.core.model.PageParams; import com.loafle.overflow.model.sensor.Sensor; import com.loafle.overflow.model.sensor.SensorItem; diff --git a/src/main/java/com/loafle/overflow/central/module/target/exception/TargetNotFoundException.java b/src/main/java/com/loafle/overflow/central/module/target/exception/TargetNotFoundException.java deleted file mode 100644 index f09d820..0000000 --- a/src/main/java/com/loafle/overflow/central/module/target/exception/TargetNotFoundException.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.loafle.overflow.central.module.target.exception; - -import com.loafle.overflow.central.commons.exception.OverflowRuntimeException; - -/** - * Created by snoop on 17. 9. 14. - */ -public class TargetNotFoundException extends OverflowRuntimeException { - private static final long serialVersionUID = 1L; - - public TargetNotFoundException() { - super(); - } - - public TargetNotFoundException(String message) { - super(message); - } -}