code: public String[] doRender(final Throwable throwable) {
          if (getStackTraceMethod != null) {
              try {
                  Object[] noArgs = null;
                  Object[] elements = (Object[])getStackTraceMethod.invoke(throwable, noArgs);
                  String[] lines = new String[elements.length + 1];
                  lines[0] = throwable.toString();
                  Map classMap = new HashMap();
                  for (int i = 0; i < elements.length; i++) {
                      lines[i + 1] = formatElement(elements[i], classMap);
                  }
                  return lines;
              } catch (Exception ex) {
              }
          }
          return null;
      }
docs: {@inheritDoc}