Refs #10207: Improve management of SchemaException

Task-Url: https://support.d4science.org/issues/10207

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@158163 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-11-03 17:21:02 +00:00
parent 8b922c0f3a
commit 92319b99f1
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
package org.gcube.informationsystem.resourceregistry.api.exceptions.schema;
import org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresent;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class SchemaAlreadyPresentException extends SchemaException implements AlreadyPresent {
/**
* Generated Serial Version UID
*/
private static final long serialVersionUID = -6141449434537456516L;
public SchemaAlreadyPresentException(String message) {
super(message);
}
public SchemaAlreadyPresentException(Throwable cause) {
super(cause);
}
public SchemaAlreadyPresentException(String message, Throwable cause) {
super(message, cause);
}
}