better error message
PLANNER-160: EmptyValueRange
javadoc
introduce ValueRangeFactory to keep the public API minimal