docs: public static String getStackTrace( Throwable throwable ) {
          if (throwable == null) return null;
          final ByteArrayOutputStream bas = new ByteArrayOutputStream();
          final PrintWriter pw = new PrintWriter(bas);
          throwable.printStackTrace(pw);
          pw.close();
          return bas.toString();
      }