executeCommand(cmdln);
}
}
private void executeCommand(CmdLineArgumentsAndSwitches cmdln) {
Command command;
try {
command = commands.get(cmdln.arg(0));
command.execute(cmdln.arguments());
} catch (ProblemInScriptListNumbers pe){
System.out.println("************************************");
System.out.println("");
System.out.println(pe.getMessage());
System.out.println("");