277278279280281282283284
return str; } private void failOnToManyPackages(List<Package> list) { if(list.size() > MAX_NUMBER_OF_PACKAGES) { throw new ExceededNumberOfPackagesException(); } }