com.netflix.hystrix.util
Class ExceptionThreadingUtility
java.lang.Object
com.netflix.hystrix.util.ExceptionThreadingUtility
public class ExceptionThreadingUtility
- extends java.lang.Object
Used to capture a stacktrace from one thread and append it to the stacktrace of another
This is used to make the exceptions thrown from an isolation thread useful, otherwise they see a stacktrace on a thread but never see who was calling it.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionThreadingUtility
public ExceptionThreadingUtility()
attachCallingThreadStack
public static void attachCallingThreadStack(java.lang.Throwable e)
assignCallingThread
public static void assignCallingThread(java.lang.Thread callingThread)