code: public void writeDown(Text text) {
          text.setStyle(Styles.BACKGROUND_COLOR, Colors.YELLOW);
          text.setStatus( Status.ERROR );
          StringBuilder textContent = new StringBuilder(text.getContent());
          textContent.append("<hr/><div class=\"greenpepper-report-exception\"><font>")
              .append(error.getClass().getSimpleName())
              .append(": ")
              .append(error.getMessage())
              .append("</font>");
          
          UUID randomUUID = UUID.randomUUID();
          String expandButtonID = randomUUID.toString() + "-show";
          textContent.append("\n<a href=\"#").append(expandButtonID).append("\" ")
          .append("class=\"greenpepper-report-stacktrace-show\" ")
          .append("id=\"").append(expandButtonID).append("\" >+</a>");
          
          
          String collapseButtonID = randomUUID.toString() + "-hide";
          textContent.append("\n<a href=\"#").append(collapseButtonID).append("\" ")
          .append("class=\"greenpepper-report-stacktrace-hide\" ")
          .append("id=\"").append(collapseButtonID).append("\" >-</a>");
          
          
          textContent.append("\n<pre class=\"greenpepper-report-stacktrace\">")
              .append(ExceptionUtils.stackTrace(error, "\n", 10))
              .append("</pre></div>");
          text.setContent(textContent.toString());
      }
docs: {@inheritDoc}