}
if (parameterIndex > subParams.size())
{
throw new IllegalArgumentException("Invalid substitution parameter index of " + parameterIndex + " supplied, the maximum for this statement is " + subParams.size());
}
SubstitutionParameterExpression subs = subParams.get(parameterIndex);
subs.setConstant(value);
}