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