+ int status = 0;
+ try {
+ new App(ns).init();
+ } catch (CommandException e) {
+ System.err.println(e.getMessage());
+ if (isVerbose && e.getCause() != null) {
+ e.getCause().printStackTrace();
+ }
+ status = getStatusForError(e);
+ } catch (Throwable e) {
+ e.printStackTrace();
+ status = 2;
+ }
+ System.exit(status);