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:
java.io.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.reflect.Field
field
The class that the PrimaryExpression represents.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description PrimaryExpressionIsClassStaticFieldException(java.lang.reflect.Field fld)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Field
getLiteralField()
Accessor 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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
field
java.lang.reflect.Field field
The class that the PrimaryExpression represents.
-
-