throws exception on probeversionservice

This commit is contained in:
insanity 2018-05-30 12:25:52 +09:00
parent 28c10e6eb3
commit b36b80208c

View File

@ -1,6 +1,7 @@
package com.loafle.overflow.central.module.meta.service;
import com.loafle.overflow.central.module.meta.dao.MetaProbeVersionDAO;
import com.loafle.overflow.core.exception.OverflowException;
import com.loafle.overflow.model.meta.MetaProbeVersion;
import com.loafle.overflow.service.central.meta.MetaProbeVersionService;
import org.springframework.beans.factory.annotation.Autowired;
@ -18,7 +19,7 @@ public class CentralMetaProbeVersionService implements MetaProbeVersionService {
@Autowired
private MetaProbeVersionDAO probeVersionDAO;
public List<MetaProbeVersion> readAll() {
public List<MetaProbeVersion> readAll() throws OverflowException {
return this.probeVersionDAO.findAll();
}
}