Class VariableNotSetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.store.query.inmemory.VariableNotSetException
All Implemented Interfaces:
Serializable

public class VariableNotSetException extends RuntimeException
Exception representing a variable not having its value currently set in the query.
See Also:
  • Field Details

  • Constructor Details

    • VariableNotSetException

      public VariableNotSetException(VariableExpression varExpr)
      Constructor when we don't know the possible values.
      Parameters:
      varExpr - The variable expression
    • VariableNotSetException

      public VariableNotSetException(VariableExpression varExpr, Object[] values)
      Constructor when we know the possible variable values.
      Parameters:
      varExpr - The variable expression
      values - The values
  • Method Details

    • getVariableExpression

      public VariableExpression getVariableExpression()
      Accessor for the variable expression that is not set.
      Returns:
      The variable expression
    • getValues

      public Object[] getValues()
      Accessor for the possible variable values (if known).
      Returns:
      The values