org.datanucleus.query.expression
Class PrimaryExpressionIsClassStaticFieldException

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.PrimaryExpressionIsClassStaticFieldException
All Implemented Interfaces:
Serializable

public class PrimaryExpressionIsClassStaticFieldException
extends NucleusException

Exception thrown when compiling a PrimaryExpression and we find that it really represents a static field of a Class (literal), and so should be swapped in the Node tree.

See Also:
Serialized Form

Constructor Summary
PrimaryExpressionIsClassStaticFieldException(Field fld)
           
 
Method Summary
 Field getLiteralField()
          Accessor for the field that this primary expression represents.
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
 
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

PrimaryExpressionIsClassStaticFieldException

public PrimaryExpressionIsClassStaticFieldException(Field fld)
Method Detail

getLiteralField

public Field getLiteralField()
Accessor for the field that this primary expression represents.

Returns:
The field


Copyright © 2013. All Rights Reserved.