{
throw new EvaluationException(LibFormulaErrorValue.ERROR_NA_VALUE);
}
final ExtendedComparator comparator = typeRegistry.getComparator(type1, type2);
final Integer result = comparator.compare (type1, value1Raw, type2, value2Raw);
if (result == null)
{
throw new EvaluationException
(LibFormulaErrorValue.ERROR_INVALID_ARGUMENT_VALUE);
}