public static void main(String[] args) { ObjGenApp app = new ObjGenApp(); try { app.processCmdLine(args); } catch (CmisBaseException ce) { System.out.println("Error: Could not process command. " + ce); System.out.println("Extended error: " + ce.getErrorContent()); ce.printStackTrace(); } catch (Exception e) { System.out.println("Could not fill repository " + e); e.printStackTrace(); } }
if (cbe.getErrorContent() != null) { writer.write("<br/>\n<b>Error content:</b><br/><br/><pre>\n"); writer.write(escape(cbe.getErrorContent()) + "</pre>\n");
if (cbe.getErrorContent() != null) { writer.write(NL + "Error Content:" + NL + NL); writer.write(cbe.getErrorContent());
if (cbe.getErrorContent() != null) { jsonResult.put("errorcontent", cbe.getErrorContent());