code: public String getStacktrace() {
  
          String stacktrace = CmsException.getStackTraceAsString(getLoginException());
          stacktrace = CmsEncoder.escapeXml(stacktrace);
          return stacktrace;
      }
docs: Returns the formatted stack trace.<p>
  
  @return the formatted stack trace