Package org.fest.util
Class Throwables
java.lang.Object
org.fest.util.Throwables
Understands utility methods related to
Throwable
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendCurrentThreadStackTraceToThrowable
(Throwable t, String methodToStartFrom) Appends the stack trace of the current thread to the one in the given
.Throwable
private 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
-