for(int i = 1; i < cmdNameAndParams.length; i++){
params.add(cmdNameAndParams[i]);
}
//get the command
AbstractCommand command = CommandStore.getInstance().getCommand(cmdName);
if(command == null){
result = MessageBox.get().getMessage(Messages.CommandNotFound);
} else {
//execute it and get the result
result = command.executeCommand(params);
}
//return the result
return result;
} catch(NullPointerException e){