theCurrentOption = (Option)theOptionsIterator.next();
char c = theCurrentOption.getArgLetter();
boolean shouldHaveArg = theOptionMatcher.hasArg(c);
String arg = theCurrentOption.getArgument();
if(!theOptionMatcher.match(c)){
throw (new IllegalArgumentException("Option " +
c + " is not valid."));
}
else if(shouldHaveArg && (arg == null)){
throw (new MissingOptArgException("Option " +
c + " is missing its argument."));