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
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 Summary
FieldsModifier and TypeFieldDescription(package private) Field
The class that the PrimaryExpression represents.private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccessor for the field that this primary expression represents.Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
field
Field fieldThe class that the PrimaryExpression represents.
-
-
Constructor Details
-
PrimaryExpressionIsClassStaticFieldException
-
-
Method Details
-
getLiteralField
Accessor for the field that this primary expression represents.- Returns:
- The field
-