Is it necessary to catch an exception here? I think you copied the code structure from the other partitioner, which catch `NumberFormatException` because it needed to parse integers. I don't see how this code could throw an exception.