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