}
private void verifyExpectedArgumentCount(String keyword, int expectedMin, int expectedMax) {
final int argumentCount = argumentsRemaining();
if(expectedMin != -1 && argumentCount < expectedMin)
throw new TorParsingException("Not enough arguments for keyword '"+ keyword +"' expected "+ expectedMin +" and got "+ argumentCount);
if(expectedMax != -1 && argumentCount > expectedMax)
// Is this the correct thing to do, or should just be a warning?
throw new TorParsingException("Too many arguments for keyword '"+ keyword +"' expected "+ expectedMax +" and got "+ argumentCount);
}