public class VariableNotSetException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected VariableExpression |
varExpr |
protected Object[] |
variableValues |
Constructor and Description |
---|
VariableNotSetException(VariableExpression varExpr)
Constructor when we don't know the possible values.
|
VariableNotSetException(VariableExpression varExpr,
Object[] values)
Constructor when we know the possible variable values.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getValues()
Accessor for the possible variable values (if known).
|
VariableExpression |
getVariableExpression()
Accessor for the variable expression that is not set.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected VariableExpression varExpr
protected Object[] variableValues
public VariableNotSetException(VariableExpression varExpr)
varExpr
- The variable expressionpublic VariableNotSetException(VariableExpression varExpr, Object[] values)
varExpr
- The variable expressionvalues
- The valuespublic VariableExpression getVariableExpression()
public Object[] getValues()
Copyright © 2019. All rights reserved.