try {
init();
parseArguments(args);
execute();
} catch (IllegalArgumentException e) {
throw new XindiceException("ERROR : " + e.getMessage() + " Try -h for help.", e);
} catch (NoSuchElementException e) {
throw new NoSuchElementException("ERROR : " + e + " Switch found. Parameter missing. Try -h for help.");
} catch (NullPointerException e) {
throw new NullPointerException("ERROR : " + e + " Try -h for help.");
} catch (Exception e) {
throw new XindiceException("ERROR : " + e.getMessage() + " Try -h for help.", e);
}
}