/** * Construct with arguments string * * @param args * the arguments * @throws CmdLineException */ public OutputWorker(String[] args) throws CmdLineException { options = new ReferencesToolOpts(args); options.validate(); }
try { options = new ReferencesToolOpts(args); options.validate(); } catch (final CmdLineException e) { System.err.println(e.getMessage());