throw new IllegalArgumentException("Command line is empty");
}
try {
final ExecutingVisitor visitor = new ExecutingVisitor(executor, environment);
final ASTCommandLine root = parse(commandLine);
return new CommandLine() {
public Object execute() throws Exception {
return root.jjtAccept(visitor, null);
}
};
}
catch (Exception e) {
throw new ErrorNotification(e);