in taverna-commandline-common/src/main/java/org/apache/taverna/commandline/CommandLineTool.java [105:129]
public void run() {
try {
if (BOOTSTRAP_LOGGING)
initialiseLogging();
int result = setupAndExecute();
System.exit(result);
} catch (InvalidOptionException | IOException | ReadInputException
| InvalidRunIdException | RunStateException
| InvalidExecutionIdException | OpenDataflowException
| RunProfileException e) {
error(e);
} catch (CMException e) {
error("There was an error initializing Taverna's SSLSocketFactory from Credential Manager", e
);
} catch (ReaderException e) {
error("There was an error reading the workflow", e);
} catch (ValidationException e) {
error("There was an error validating the workflow", e);
} catch (InvalidWorkflowException e) {
error("There was an error validating the workflow", e);
} catch (DatabaseConfigurationException e) {
error("There was an error configuring the database", e);
}
System.exit(1);
}