Class PrimaryExpressionIsVariableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.store.query.expression.PrimaryExpressionIsVariableException
-
- All Implemented Interfaces:
java.io.Serializable
public class PrimaryExpressionIsVariableException extends NucleusException
Exception thrown when compiling a PrimaryExpression and we find that it really represents an implicit variable, and so should be swapped in the expression tree.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
(package private) VariableExpression
varExpr
The VariableExpression that the PrimaryExpression should be swapped with.
-
Constructor Summary
Constructors Constructor Description PrimaryExpressionIsVariableException(java.lang.String varName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableExpression
getVariableExpression()
Accessor for the VariableExpression that this primary expression should be swapped for.-
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
-
varExpr
VariableExpression varExpr
The VariableExpression that the PrimaryExpression should be swapped with.
-
-
Method Detail
-
getVariableExpression
public VariableExpression getVariableExpression()
Accessor for the VariableExpression that this primary expression should be swapped for.- Returns:
- The VariableExpression
-
-