litesoft
@ 939
1 2 3 4 5 6 7 8 9 10 11 12 13 |
package org.litesoft.commonfoundation.typeutils; import org.litesoft.commonfoundation.exceptions.*; public class Throwables { public static String printStackTraceToString( Throwable pThrowable ) { ExceptionStackTracePrintStream ps = new ExceptionStackTracePrintStream(); pThrowable.printStackTrace( ps ); return ps.toString(); } } |