litesoft
@ 943
litesoft / trunk / DeviceDesktopTest / src / org / litesoft / commonfoundation / typeutils / Throwables.java
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(); } } |