checkArgs
void checkArgs(java.util.List args)
throws InvalidParameterException
Checks that the arguments given are acceptable arguments for this
function. This method should only use those attributes of a SubClause
which do not change over its lifetime - whether it is constant,
what class of SubClause it is, what class of BaseType it returns, etc.
Thus, the method should not look at the actual value of an argument
unless the argument is flagged as constant.
- Parameters:
args
- A list of SubClauses that the caller is considering passing
to the evaluate() method of the function.
- Throws:
InvalidParameterException
- Thrown if the function will not
evaluate successfully using these arguments.