org.datanucleus.query.expression
Class PrimaryExpressionIsVariableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.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

Constructor Summary
PrimaryExpressionIsVariableException(java.lang.String varName)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimaryExpressionIsVariableException

public PrimaryExpressionIsVariableException(java.lang.String varName)
Method Detail

getVariableExpression

public VariableExpression getVariableExpression()
Accessor for the VariableExpression that this primary expression should be swapped for.

Returns:
The VariableExpression


Copyright © 2011. All Rights Reserved.