Move RMCode to rs package. This keeps the exceptions package as more generic as possible.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/resource-management/resource-manager@161929 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Manuele Simi 2018-01-01 20:37:28 +00:00
parent f94fd01063
commit 5c9549160c
5 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,7 @@
package org.gcube.resourcemanagement.manager.io.exceptions;
package org.gcube.resourcemanagement.manager.io.rs;
import org.gcube.resourcemanagement.manager.io.exceptions.CodeException;
import org.gcube.resourcemanagement.manager.io.exceptions.ErrorCode;
/**
* Exception codes handled with {@link CodeException}.

View File

@ -3,7 +3,7 @@ package org.gcube.resourcemanagement.manager.io.exceptions;
import static org.junit.Assert.*;
import org.gcube.resourcemanagement.manager.io.exceptions.CodeException;
import org.gcube.resourcemanagement.manager.io.exceptions.RMCode;
import org.gcube.resourcemanagement.manager.io.rs.RMCode;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;
@ -18,7 +18,7 @@ import org.junit.runners.BlockJUnit4ClassRunner;
public class CodeExceptionTest {
/**
* Test method for {@link org.gcube.resourcemanagement.manager.io.exceptions.CodeException#CodeException(org.gcube.resourcemanagement.manager.io.exceptions.RMCode)}.
* Test method for {@link org.gcube.resourcemanagement.manager.io.exceptions.CodeException#CodeException(org.gcube.resourcemanagement.manager.io.rs.RMCode)}.
*/
@Test
public void testCodeException() {

View File

@ -6,7 +6,7 @@ import org.gcube.informationsystem.model.entity.Context;
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException;
import org.gcube.resourcemanagement.manager.io.exceptions.CodeException;
import org.gcube.resourcemanagement.manager.io.exceptions.RMCode;
import org.gcube.resourcemanagement.manager.io.rs.RMCode;
/**
* Actions that can be performed on the context.

View File

@ -6,7 +6,7 @@ import org.gcube.informationsystem.resourceregistry.context.ResourceRegistryCont
import org.gcube.informationsystem.resourceregistry.context.ResourceRegistryContextClientFactory;
import org.gcube.informationsystem.resourceregistry.context.ResourceRegistryContextClientImpl;
import org.gcube.resourcemanagement.manager.io.exceptions.CodeException;
import org.gcube.resourcemanagement.manager.io.exceptions.RMCode;
import org.gcube.resourcemanagement.manager.io.rs.RMCode;
/**
* Base request to an operation exposed by the Resource Registry.

View File

@ -19,8 +19,8 @@ import org.gcube.informationsystem.impl.entity.ContextImpl;
import org.gcube.informationsystem.impl.utils.ISMapper;
import org.gcube.informationsystem.model.entity.Context;
import org.gcube.resourcemanagement.manager.io.exceptions.CodeFinder;
import org.gcube.resourcemanagement.manager.io.exceptions.RMCode;
import org.gcube.resourcemanagement.manager.io.exceptions.SerializableErrorCode;
import org.gcube.resourcemanagement.manager.io.rs.RMCode;
import org.gcube.resourcemanagement.manager.io.rs.RMContextPath;
import org.gcube.resourcemanagement.manager.webapp.rs.RMContext;
import org.glassfish.jersey.server.ResourceConfig;