}
catch (CommandLineParserException e) {
getShell().out().println(e.getMessage());
result = CommandResult.FAILURE;
if(resultHandler != null)
resultHandler.onValidationFailure(result, e);
}
catch (CommandNotFoundException e) {
if (commandNotFoundHandler != null) {
commandNotFoundHandler.handleCommandNotFound(
output.getBuffer(), getShell());