Class InvalidQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.queries.InvalidQueryException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidQueryException(String message) Instantiates a new invalid query exception.InvalidQueryException(String message, Throwable cause) Instantiates a new invalid query exception.InvalidQueryException(Throwable cause) Instantiates a new invalid query exception. -
Method Summary
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadataMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidQueryException
Instantiates a new invalid query exception.- Parameters:
message- the message
-
InvalidQueryException
Instantiates a new invalid query exception.- Parameters:
cause- the cause
-
InvalidQueryException
Instantiates a new invalid query exception.- Parameters:
message- the messagecause- the cause
-