in taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/CommandLineOptionsImpl.java [407:420]
private CommandLine processArgs(String[] args) throws ArgumentsParsingException {
CommandLineParser parser = new GnuParser();
CommandLine line = null;
try {
// parse the command line arguments
line = parser.parse(options, args);
} catch (ParseException exp) {
// oops, something went wrong
// System.err.println("Taverna command line arguments' parsing failed. Reason: " + exp.getMessage());
// System.exit(1);
throw new ArgumentsParsingException("Taverna command line arguments' parsing failed. Reason: " + exp.getMessage(), exp);
}
return line;
}