rabbit.util
Class StackTraceUtil
java.lang.Object
rabbit.util.StackTraceUtil
public class StackTraceUtil
- extends Object
Utility functions when dealing with stack traces.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTraceUtil
public StackTraceUtil()
getStackTrace
public static String getStackTrace(Throwable t)
- Print the given Throwable to a String.
- Parameters:
t
- the Throwable to get the stack trace for
- Returns:
- the formatted stack trace