From 204d4608a0aae9b35c004de60b99e142d5dd6ddf Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Thu, 17 Dec 2020 11:50:44 +0100 Subject: [PATCH] Changed Exception type --- .../geoportal/common/rest/ProjectsI.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/gcube/application/geoportal/common/rest/ProjectsI.java b/src/main/java/org/gcube/application/geoportal/common/rest/ProjectsI.java index 773a6be..cc81111 100644 --- a/src/main/java/org/gcube/application/geoportal/common/rest/ProjectsI.java +++ b/src/main/java/org/gcube/application/geoportal/common/rest/ProjectsI.java @@ -1,18 +1,16 @@ package org.gcube.application.geoportal.common.rest; -import java.rmi.RemoteException; - import org.gcube.application.geoportal.common.model.project.Project; public interface ProjectsI { - public Iterable getAll() throws RemoteException; - public Iterable getByProfile(String profileId) throws RemoteException; - public Project getById(String profileId,String id) throws RemoteException; - public Iterable getByFilter(String filter)throws RemoteException; - public Iterable getByFilter(String filter, String profileId)throws RemoteException; - public Project registrNew(String profileId, String jsonDocument)throws RemoteException; - public Project update(String profileId, String projectId,String jsonDocument) throws RemoteException; - public void deleteById(String profileId, String projectId)throws RemoteException; + public Iterable getAll() throws Exception; + public Iterable getByProfile(String profileId) throws Exception; + public Project getById(String profileId,String id) throws Exception; + public Iterable getByFilter(String filter)throws Exception; + public Iterable getByFilter(String filter, String profileId)throws Exception; + public Project registrNew(String profileId, String jsonDocument)throws Exception; + public Project update(String profileId, String projectId,String jsonDocument) throws Exception; + public void deleteById(String profileId, String projectId)throws Exception; }