diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/exception/HystrixRuntimeException.java b/hystrix-core/src/main/java/com/netflix/hystrix/exception/HystrixRuntimeException.java index 17feccbdb..5d136584f 100644 --- a/hystrix-core/src/main/java/com/netflix/hystrix/exception/HystrixRuntimeException.java +++ b/hystrix-core/src/main/java/com/netflix/hystrix/exception/HystrixRuntimeException.java @@ -17,6 +17,7 @@ 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. diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/util/ExceptionThreadingUtility.java b/hystrix-core/src/main/java/com/netflix/hystrix/util/ExceptionThreadingUtility.java new file mode 100644 index 000000000..bdc22806e --- /dev/null +++ b/hystrix-core/src/main/java/com/netflix/hystrix/util/ExceptionThreadingUtility.java @@ -0,0 +1,30 @@ +/** + * Copyright 2012 Netflix, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.netflix.hystrix.util; + +@Deprecated +public class ExceptionThreadingUtility { + + @Deprecated //this functionality is no longer supported + public static void attachCallingThreadStack(Throwable e) { + //no-op now + } + + @Deprecated //this functionality is no longer supported + public static void assignCallingThread(Thread callingThread) { + //no-op now + } +}