org.datanucleus.query.evaluator.memory
Class VariableNotSetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.query.evaluator.memory.VariableNotSetException
- All Implemented Interfaces:
- java.io.Serializable
public class VariableNotSetException
- extends java.lang.RuntimeException
Exception representing a variable not having its value currently set in the query.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
varExpr
protected VariableExpression varExpr
variableValues
protected java.lang.Object[] variableValues
VariableNotSetException
public VariableNotSetException(VariableExpression varExpr)
- Constructor when we don't know the possible values.
- Parameters:
varExpr - The variable expression
VariableNotSetException
public VariableNotSetException(VariableExpression varExpr,
java.lang.Object[] values)
- Constructor when we know the possible variable values.
- Parameters:
values - The values
getVariableExpression
public VariableExpression getVariableExpression()
- Accessor for the variable expression that is not set.
- Returns:
- The variable expression
getValues
public java.lang.Object[] getValues()
- Accessor for the possible variable values (if known).
- Returns:
- The values
Copyright © 2010. All Rights Reserved.