com.netflix.hystrix.util
Class ExceptionThreadingUtility

java.lang.Object
  extended by 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.


Constructor Summary
ExceptionThreadingUtility()
           
 
Method Summary
static void assignCallingThread(java.lang.Thread callingThread)
           
static void attachCallingThreadStack(java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionThreadingUtility

public ExceptionThreadingUtility()
Method Detail

attachCallingThreadStack

public static void attachCallingThreadStack(java.lang.Throwable e)

assignCallingThread

public static void assignCallingThread(java.lang.Thread callingThread)