org.fest.util
Class Throwables
java.lang.Object
org.fest.util.Throwables
public final class Throwables
- extends Object
Understands utility methods related to Throwable
s.
- Author:
- Alex Ruiz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appendCurrentThreadStackTraceToThrowable
public static void appendCurrentThreadStackTraceToThrowable(Throwable t,
String methodToStartFrom)
- Appends the stack trace of the current thread to the one in the given
Throwable
.
- Parameters:
t
- the given Throwable
.methodToStartFrom
- the name of the method used as the starting point of the current thread's stack trace.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.