Skip to content

Commit

Permalink
Removed ExceptionThreadingUtility. Stack traces are not helpful in an…
Browse files Browse the repository at this point in the history
… event-loop world.
  • Loading branch information
Matt Jacobs committed Jan 7, 2015
1 parent 8847054 commit ac92b6a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 175 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import com.netflix.hystrix.HystrixCommand;
import com.netflix.hystrix.HystrixInvokable;
import com.netflix.hystrix.util.ExceptionThreadingUtility;

/**
* RuntimeException that is thrown when a {@link HystrixCommand} fails and does not have a fallback.
Expand All @@ -40,15 +39,13 @@ public HystrixRuntimeException(FailureType failureCause, Class<? extends Hystrix
this.failureCause = failureCause;
this.commandClass = commandClass;
this.fallbackException = fallbackException;
ExceptionThreadingUtility.attachCallingThreadStack(this);
}

public HystrixRuntimeException(FailureType failureCause, Class<? extends HystrixInvokable> commandClass, String message, Throwable cause, Throwable fallbackException) {
super(message, cause);
this.failureCause = failureCause;
this.commandClass = commandClass;
this.fallbackException = fallbackException;
ExceptionThreadingUtility.attachCallingThreadStack(this);
}

/**
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit ac92b6a

Please sign in to comment.