Class QueryForbiddenLogicalOperatorException

All Implemented Interfaces:
Serializable

public class QueryForbiddenLogicalOperatorException extends QueryValidationException
Indicates that a query uses a logical operator that is not allowed by the active @WebQuery configuration.
See Also:
  • 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 details
      logicalOperator - 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 details
      logicalOperator - logical operator used in the query
      cause - root cause of the validation failure