Class QueryTemplateAlreadyPresentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateAlreadyPresentException
-
- All Implemented Interfaces:
Serializable
public class QueryTemplateAlreadyPresentException extends AlreadyPresentException
Thrown when a Query Template with the given name already exists with a different definition. Mapped to409 Conflictby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryTemplateAlreadyPresentException(String message)Instantiates a new query template already present exception.QueryTemplateAlreadyPresentException(String message, Throwable cause)Instantiates a new query template already present exception.QueryTemplateAlreadyPresentException(Throwable cause)Instantiates a new query template already present exception.
-
Method Summary
-
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadata
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
QueryTemplateAlreadyPresentException
public QueryTemplateAlreadyPresentException(String message)
Instantiates a new query template already present exception.- Parameters:
message- the message
-
QueryTemplateAlreadyPresentException
public QueryTemplateAlreadyPresentException(Throwable cause)
Instantiates a new query template already present exception.- Parameters:
cause- the cause
-
-