Package | Description |
---|---|
com.netflix.hystrix.exception |
Custom exception implementations.
|
com.netflix.hystrix.strategy.executionhook |
Strategy definition for execution hook.
|
Modifier and Type | Method and Description |
---|---|
HystrixRuntimeException.FailureType |
HystrixRuntimeException.getFailureType()
The type of failure that caused this exception to be thrown.
|
static HystrixRuntimeException.FailureType |
HystrixRuntimeException.FailureType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HystrixRuntimeException.FailureType[] |
HystrixRuntimeException.FailureType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
HystrixRuntimeException(HystrixRuntimeException.FailureType failureCause,
Class<? extends HystrixInvokable> commandClass,
String message,
Exception cause,
Throwable fallbackException) |
HystrixRuntimeException(HystrixRuntimeException.FailureType failureCause,
Class<? extends HystrixInvokable> commandClass,
String message,
Throwable cause,
Throwable fallbackException) |
Modifier and Type | Method and Description |
---|---|
<T> Exception |
HystrixCommandExecutionHook.onError(HystrixCommand<T> commandInstance,
HystrixRuntimeException.FailureType failureType,
Exception e)
Deprecated.
|
<T> Exception |
HystrixCommandExecutionHook.onError(HystrixInvokable<T> commandInstance,
HystrixRuntimeException.FailureType failureType,
Exception e)
Invoked when
HystrixInvokable fails with an Exception. |
Copyright © 2020. All Rights Reserved.