Class BadExpression

  • All Implemented Interfaces:
    Expression

    public final class BadExpression
    extends AbstractExpression
    This wraps another Expression that was correctly parsed by it is located in an invalid location within the JPQL query.
    Version:
    2.5
    Author:
    Pascal Filion
    Since:
    2.3
    • Constructor Detail

      • BadExpression

        public BadExpression​(AbstractExpression parent)
        Creates a new BadExpression.
        Parameters:
        parent - The parent of this expression
      • BadExpression

        public BadExpression​(AbstractExpression parent,
                             AbstractExpression expression)
        Creates a new BadExpression.
        Parameters:
        parent - The parent of this expression
        expression - The Expression that was parsed in a location that was not supposed to contain that expression