diff --git a/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java b/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java index 3c154a9..eb83575 100644 --- a/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java +++ b/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java @@ -2,6 +2,7 @@ package com.loafle.overflow.service.central.infra; import java.util.List; +import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.core.model.PageParams; import com.loafle.overflow.model.domain.Domain; import com.loafle.overflow.model.infra.Infra; @@ -15,11 +16,11 @@ import org.springframework.data.domain.Page; */ public interface InfraService { - Infra regist(Infra infra); - Infra read(long id); - Page readAllByProbe(Probe probe, PageParams pageParams); - Page readAllByDomain(Domain domain, PageParams pageParams); - List readAllTargetByDomain(Domain domain); - List readAllTargetByProbeList(List probeList); - Infra readByTarget(Target target); + Infra regist(Infra infra) throws OverflowException; + Infra read(long id) throws OverflowException; + Page readAllByProbe(Probe probe, PageParams pageParams) throws OverflowException; + Page readAllByDomain(Domain domain, PageParams pageParams) throws OverflowException; + List readAllTargetByDomain(Domain domain) throws OverflowException; + List readAllTargetByProbeList(List probeList) throws OverflowException; + Infra readByTarget(Target target) throws OverflowException; }