Module org.datanucleus
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:
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
-
-
Constructor Summary
Constructors Constructor Description PrimaryExpressionIsVariableException(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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PrimaryExpressionIsVariableException
public PrimaryExpressionIsVariableException(String varName)
-
-
Method Detail
-
getVariableExpression
public VariableExpression getVariableExpression()
Accessor for the VariableExpression that this primary expression should be swapped for.- Returns:
- The VariableExpression
-
-