public class HystrixRuntimeException extends RuntimeException
HystrixCommand fails and does not have a fallback.| Modifier and Type | Class and Description |
|---|---|
static class |
HystrixRuntimeException.FailureType |
| 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 |
|---|---|
HystrixRuntimeException.FailureType |
getFailureType()
The type of failure that caused this exception to be thrown.
|
Throwable |
getFallbackException()
The
Throwable that was thrown when trying to retrieve a fallback. |
Class<? extends HystrixInvokable> |
getImplementingClass()
The implementing class of the
HystrixCommand. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HystrixRuntimeException(HystrixRuntimeException.FailureType failureCause, Class<? extends HystrixInvokable> commandClass, String message, Exception cause, Throwable fallbackException)
public HystrixRuntimeException(HystrixRuntimeException.FailureType failureCause, Class<? extends HystrixInvokable> commandClass, String message, Throwable cause, Throwable fallbackException)
public HystrixRuntimeException.FailureType getFailureType()
public Class<? extends HystrixInvokable> getImplementingClass()
HystrixCommand.Class<? extends HystrixCommand> Copyright © 2017. All Rights Reserved.