} catch (ServiceException e) { Throwable cause = e.getCause(); System.err.println("ERROR: " + e.getCode() + " (" + e.getMessage() + ")" + (cause == null ? "" : " (cause: " + cause.getClass().getName() + " " + cause.getMessage() + ")")); System.exit(2);
    public static void main(String args[]) throws IOException {        Zimbra.toolSetup();                ProvUtil pu = new ProvUtil();        if (args.length < 1) {            pu.interactive(false);        } else if (args.length == 1 && args[0].equals("-v")) {            pu.interactive(true);        } else {            try {                if (!pu.execute(args))                    pu.usage();            } catch (ServiceException e) {            	Throwable cause = e.getCause();                System.err.println("ERROR: " + e.getCode() + " (" + e.getMessage() + ")" +                 		(cause == null ? "" : " (cause: " + cause.getClass().getName() + " " + cause.getMessage() + ")"));                  System.exit(2);            } catch (ArgException e) {                pu.usage();            }        }    }