@Override public void renderException(Throwable throwable) { createEmptyDocument(); String msg = ExceptionUtils.stackTrace(throwable, "\n", 10); addTextValue(root, GLOBAL_EXCEPTION, msg, true); }
addTextValue(element, DOCUMENT_NAME, document.getName(), true); addTextValue(element, DOCUMENT_EXTERNAL_LINK, document.getExternalLink(), true); addTextValue(sections, SECTION, section, true); addTextValue(element, RESULTS, buffer.toString(), true); addNumberValue(stats, SUCCESS, compiler.rightCount()); addNumberValue(stats, FAILURE, compiler.wrongCount());