org.datanucleus.query.expression
Class PrimaryExpressionIsClassLiteralException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.query.expression.PrimaryExpressionIsClassLiteralException
- All Implemented Interfaces:
- 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
Method Summary |
Literal |
getLiteral()
Accessor for the Literal that this primary expression should be swapped for. |
PrimaryExpressionIsClassLiteralException
public PrimaryExpressionIsClassLiteralException(Class cls)
getLiteral
public Literal getLiteral()
- Accessor for the Literal that this primary expression should be swapped for.
- Returns:
- The literal
Copyright © 2013. All Rights Reserved.