Added AvailableInAnotherContext Exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@146427 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3fdbeeeccb
commit
cbc3fd8061
|
@ -0,0 +1,5 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions;
|
||||
|
||||
public interface AvailableInAnotherContext {
|
||||
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.entity;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContext;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class EntityAvailableInAnotherContextException extends ERAvailableInAnotherContextException implements AvailableInAnotherContext {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = 6169522499840275744L;
|
||||
|
||||
public EntityAvailableInAnotherContextException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public EntityAvailableInAnotherContextException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public EntityAvailableInAnotherContextException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContext;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAvailableInAnotherContextException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class FacetAvailableInAnotherContextException extends EntityAvailableInAnotherContextException implements AvailableInAnotherContext {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -7502387344011649559L;
|
||||
|
||||
public FacetAvailableInAnotherContextException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public FacetAvailableInAnotherContextException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public FacetAvailableInAnotherContextException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContext;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAvailableInAnotherContextException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class ResourceAvailableInAnotherContextException extends EntityAvailableInAnotherContextException implements AvailableInAnotherContext {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -8722827977850574469L;
|
||||
|
||||
public ResourceAvailableInAnotherContextException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ResourceAvailableInAnotherContextException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public ResourceAvailableInAnotherContextException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.er;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContext;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*
|
||||
*/
|
||||
public class ERAvailableInAnotherContextException extends ERException implements AvailableInAnotherContext {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -7499131763751652582L;
|
||||
|
||||
public ERAvailableInAnotherContextException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ERAvailableInAnotherContextException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public ERAvailableInAnotherContextException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.relation;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContext;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class RelationAvailableInAnotherContextException extends ERAvailableInAnotherContextException implements AvailableInAnotherContext {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -8555707367745327973L;
|
||||
|
||||
public RelationAvailableInAnotherContextException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public RelationAvailableInAnotherContextException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public RelationAvailableInAnotherContextException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue