docs: public static String getStackTraceAsString(StackTraceElement[] trace, String separator) {
  
          String result = "";
          for (StackTraceElement elem : trace) {
              result += elem.toString();
              result += separator;
          }
          return result;
      }