code: public static String formatException(IThrowableProxy error) {
  		String ex = "";
  		ex += formatTopLevelError(error);
  		ex += formatStackTraceElements(error.getStackTraceElementProxyArray());
  		IThrowableProxy cause = error.getCause();
          ex += DELIMITER;
  		while (cause != null) {
  			ex += formatTopLevelError(cause);
  			StackTraceElementProxy[] arr = cause.getStackTraceElementProxyArray();
  			ex += formatStackTraceElements(arr);
  			ex += DELIMITER;
  			cause = cause.getCause();
  		}
  		return ex;
  	}
docs: Returns a formatted stack trace for an exception.
  
  <p>This method provides a full (non-truncated) trace delimited by
  {@link #DELIMITER}. Currently it doesn't make any use of Java 7's <a
  href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html#suppressed-exceptions">exception
  suppression</a>.</p>
  
  @param error an {@link IThrowableProxy} object
  @return stack trace string