Class QueryTemplateCreationException

  • All Implemented Interfaces:
    Serializable

    public class QueryTemplateCreationException
    extends QueryTemplateException
    Thrown when a generic, non-conflict failure occurs while creating a Query Template. Mapped to 400 Bad Request by the REST layer. Not currently thrown by the server implementation, which reports Query Template creation failures via QueryTemplateAlreadyPresentException.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • QueryTemplateCreationException

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

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

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