From 92319b99f192614fd1c9cecebeec561789939e35 Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Fri, 3 Nov 2017 17:21:02 +0000 Subject: [PATCH] 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 --- .../schema/SchemaAlreadyPresentException.java | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaAlreadyPresentException.java diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaAlreadyPresentException.java b/src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaAlreadyPresentException.java new file mode 100644 index 0000000..c44160b --- /dev/null +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaAlreadyPresentException.java @@ -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); + } + +}