Package org.fest.util
Class Throwables
java.lang.Object
org.fest.util.Throwables
Understands utility methods related to
Throwables.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendCurrentThreadStackTraceToThrowable(Throwable t, String methodToStartFrom) Appends the stack trace of the current thread to the one in the given.Throwableprivate static List<StackTraceElement>currentThreadStackTrace(String methodToStartFrom) private static List<StackTraceElement>
-
Constructor Details
-
Throwables
private Throwables()
-
-
Method Details
-
appendCurrentThreadStackTraceToThrowable
Appends the stack trace of the current thread to the one in the given.Throwable- Parameters:
t- the givenThrowable.methodToStartFrom- the name of the method used as the starting point of the current thread's stack trace.
-
currentThreadStackTrace
-
stackTraceInCurrentThread
-