code: public static String stringifyException(final Throwable e) {
  		if (e == null) {
  			return STRINGIFIED_NULL_EXCEPTION;
  		}
  
  		try {
  			StringWriter stm = new StringWriter();
  			PrintWriter wrt = new PrintWriter(stm);
  			e.printStackTrace(wrt);
  			wrt.close();
  			return stm.toString();
  		}
  		catch (Throwable t) {
  			return e.getClass().getName() + " (error while printing stack trace)";
  		}
  	}
docs: Makes a string representation of the exception's stack trace, or "(null)", if the
  exception is null.
  
  <p>This method makes a best effort and never fails.
  
  @param e The exception to stringify.
  @return A string with exception name and call stack.