Class QueryForbiddenLogicalOperatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
in.co.akshitbansal.springwebquery.exception.QueryException
in.co.akshitbansal.springwebquery.exception.QueryValidationException
in.co.akshitbansal.springwebquery.exception.QueryForbiddenLogicalOperatorException
- All Implemented Interfaces:
Serializable
Indicates that a query uses a logical operator that is not allowed by the
active
@WebQuery configuration.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryForbiddenLogicalOperatorException(String message, cz.jirutka.rsql.parser.ast.LogicalOperator logicalOperator) Creates a new forbidden logical-operator exception.QueryForbiddenLogicalOperatorException(String message, cz.jirutka.rsql.parser.ast.LogicalOperator logicalOperator, Throwable cause) Creates a new forbidden logical-operator exception with an underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryForbiddenLogicalOperatorException
public QueryForbiddenLogicalOperatorException(String message, cz.jirutka.rsql.parser.ast.LogicalOperator logicalOperator) Creates a new forbidden logical-operator exception.- Parameters:
message- validation error detailslogicalOperator- logical operator used in the query
-
QueryForbiddenLogicalOperatorException
public QueryForbiddenLogicalOperatorException(String message, cz.jirutka.rsql.parser.ast.LogicalOperator logicalOperator, Throwable cause) Creates a new forbidden logical-operator exception with an underlying cause.- Parameters:
message- validation error detailslogicalOperator- logical operator used in the querycause- root cause of the validation failure
-