Class VariableNotSetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.store.query.inmemory.VariableNotSetException
- All Implemented Interfaces:
Serializable
Exception representing a variable not having its value currently set in the query.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
protected VariableExpression
protected Object[]
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor when we don't know the possible values.VariableNotSetException
(VariableExpression varExpr, Object[] values) Constructor when we know the possible variable values. -
Method Summary
Modifier and TypeMethodDescriptionObject[]
Accessor for the possible variable values (if known).Accessor for the variable expression that is not set.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
varExpr
-
variableValues
-
-
Constructor Details
-
VariableNotSetException
Constructor when we don't know the possible values.- Parameters:
varExpr
- The variable expression
-
VariableNotSetException
Constructor when we know the possible variable values.- Parameters:
varExpr
- The variable expressionvalues
- The values
-
-
Method Details
-
getVariableExpression
Accessor for the variable expression that is not set.- Returns:
- The variable expression
-
getValues
Accessor for the possible variable values (if known).- Returns:
- The values
-