java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
QueryTemplateCreationException

public class QueryTemplateException extends ResourceRegistryException
Base exception for Query Template error conditions that do not fall under QueryTemplateAlreadyPresentException or QueryTemplateNotFoundException (e.g. QueryTemplateCreationException). Mapped to 400 Bad Request by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • QueryTemplateException

      public QueryTemplateException(String message)
      Instantiates a new query template exception.
      Parameters:
      message - the message
    • QueryTemplateException

      public QueryTemplateException(Throwable cause)
      Instantiates a new query template exception.
      Parameters:
      cause - the cause
    • QueryTemplateException

      public QueryTemplateException(String message, Throwable cause)
      Instantiates a new query template exception.
      Parameters:
      message - the message
      cause - the cause