public class UndefinedExpressionException extends RuntimeException
EvaluableExpression
is to be evaluated, but insufficient variable
assignments are provided.EvaluableExpression
,
Serialized FormConstructor and Description |
---|
UndefinedExpressionException(EvaluableVariableAssignment assignment,
EvaluableVariable undefinedVariable)
Creates an exception for an encountered undefined variable.
|
Modifier and Type | Method and Description |
---|---|
EvaluableVariableAssignment |
getCausingAssignment()
The assignment that caused this exception by not assigning a value to
getMissingVariable() . |
EvaluableVariable |
getMissingVariable()
The variable having no assignment in
getCausingAssignment() while being
needed. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UndefinedExpressionException(EvaluableVariableAssignment assignment, EvaluableVariable undefinedVariable)
EvaluableExpression
containing undefinedVariable
was tried
to be EvaluableExpression.evaluate(de.uka.ipd.sdq.beagle.core.evaluableexpressions.EvaluableVariableAssignment)
d, but the passed assignment
did
not contain a valid assignment for undefinedVariable
.assignment
- The assignment raising the exception.undefinedVariable
- The variable missing in assignment
.public EvaluableVariableAssignment getCausingAssignment()
getMissingVariable()
.public EvaluableVariable getMissingVariable()
getCausingAssignment()
while being
needed.