code: public static String getStackTrace(final Throwable t)
  	{
  		StringWriter _writer = new StringWriter();
  		PrintWriter _print = new PrintWriter(_writer);
  		t.printStackTrace(_print);
  		return _writer.toString();
  	}
docs: Return a string containing the result of <code>printStackTrace()</code>.
  <p>
  This method is not limited to exceptions but is applicable on any throwable objects.
  </p>
  
  @param t
  the throwable to trace.
  @return the String containing the trace