Class PrimaryExpressionIsClassLiteralException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.store.query.expression.PrimaryExpressionIsClassLiteralException
All Implemented Interfaces:
Serializable

public class PrimaryExpressionIsClassLiteralException extends NucleusException
Exception thrown when compiling a PrimaryExpression and we find that it really represents a Class literal, and so should be swapped in the expression tree.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • literal

      Literal literal
      The Literal that the PrimaryExpression should be swapped with.
  • Constructor Details

    • PrimaryExpressionIsClassLiteralException

      public PrimaryExpressionIsClassLiteralException(Class cls)
  • Method Details

    • getLiteral

      public Literal getLiteral()
      Accessor for the Literal that this primary expression should be swapped for.
      Returns:
      The literal