Class InvalidQueryException

  • All Implemented Interfaces:
    Serializable

    public class InvalidQueryException
    extends ResourceRegistryException
    Thrown when a JSON Query, raw backend query, or prepared query request is malformed, references an unknown type, or attempts a disallowed (non-read-only) operation. Mapped to 400 Bad Request by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidQueryException

        public InvalidQueryException​(String message)
        Instantiates a new invalid query exception.
        Parameters:
        message - the message
      • InvalidQueryException

        public InvalidQueryException​(Throwable cause)
        Instantiates a new invalid query exception.
        Parameters:
        cause - the cause
      • InvalidQueryException

        public InvalidQueryException​(String message,
                                     Throwable cause)
        Instantiates a new invalid query exception.
        Parameters:
        message - the message
        cause - the cause