From fdd28650509096a8be49b56d6540afdbacc861a2 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 16 Feb 2021 17:01:26 +0100 Subject: [PATCH] Added SchemaViolationException refs #7355 #18216 #20531 --- .../schema/SchemaViolationException.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaViolationException.java diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaViolationException.java b/src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaViolationException.java new file mode 100644 index 0000000..8c93569 --- /dev/null +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/api/exceptions/schema/SchemaViolationException.java @@ -0,0 +1,23 @@ +package org.gcube.informationsystem.resourceregistry.api.exceptions.schema; + +import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException; + +public class SchemaViolationException extends ResourceRegistryException { + + /** + * Generated Serial Version UID + */ + private static final long serialVersionUID = -2563703637351710301L; + + public SchemaViolationException(String message) { + super(message); + } + + public SchemaViolationException(Throwable cause) { + super(cause); + } + + public SchemaViolationException(String message, Throwable cause) { + super(message, cause); + } +}