Specialized Relation Exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@158593 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
db90d68bc5
commit
6290ea8be5
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.relation.isparentof;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresent;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.relation.RelationAlreadyPresentException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class IsParentOfAlreadyPresentException extends RelationAlreadyPresentException implements AlreadyPresent {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -244592605626665740L;
|
||||
|
||||
public IsParentOfAlreadyPresentException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public IsParentOfAlreadyPresentException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public IsParentOfAlreadyPresentException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.relation.isparentof;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.NotFound;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.relation.RelationNotFoundException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class IsParentOfNotFoundException extends RelationNotFoundException implements NotFound {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -4769773168121537127L;
|
||||
|
||||
public IsParentOfNotFoundException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public IsParentOfNotFoundException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public IsParentOfNotFoundException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue