public static String formatException(Throwable exception) {
		StringBuilder buffer = new StringBuilder();

		formatException(exception, buffer);

		return buffer.toString();
	}
public static String formatException ( Throwable exception ) { StringBuilder buffer = new StringBuilder ( ) ; formatException ( exception , buffer ) ; return buffer . toString ( ) ; }
Formatea una excepcion y las excepciones padre.

@param exception
excepcion
@return el fomato requerido