throw an exception for RangeBased limit exceeding