Class PrimaryExpressionIsClassStaticFieldException

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

public class PrimaryExpressionIsClassStaticFieldException extends NucleusException
Exception thrown when compiling a PrimaryExpression and we find that it really represents a static field of a Class (literal), and so should be swapped in the Node tree.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • field

      Field field
      The class that the PrimaryExpression represents.
  • Constructor Details

    • PrimaryExpressionIsClassStaticFieldException

      public PrimaryExpressionIsClassStaticFieldException(Field fld)
  • Method Details

    • getLiteralField

      public Field getLiteralField()
      Accessor for the field that this primary expression represents.
      Returns:
      The field