public static enum HystrixRuntimeException.FailureType extends java.lang.Enum<HystrixRuntimeException.FailureType>
Enum Constant and Description |
---|
BAD_REQUEST_EXCEPTION |
COMMAND_EXCEPTION |
REJECTED_SEMAPHORE_EXECUTION |
REJECTED_SEMAPHORE_FALLBACK |
REJECTED_THREAD_EXECUTION |
SHORTCIRCUIT |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static HystrixRuntimeException.FailureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HystrixRuntimeException.FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HystrixRuntimeException.FailureType BAD_REQUEST_EXCEPTION
public static final HystrixRuntimeException.FailureType COMMAND_EXCEPTION
public static final HystrixRuntimeException.FailureType REJECTED_SEMAPHORE_EXECUTION
public static final HystrixRuntimeException.FailureType REJECTED_SEMAPHORE_FALLBACK
public static final HystrixRuntimeException.FailureType REJECTED_THREAD_EXECUTION
public static final HystrixRuntimeException.FailureType SHORTCIRCUIT
public static final HystrixRuntimeException.FailureType TIMEOUT
public static HystrixRuntimeException.FailureType[] values()
for (HystrixRuntimeException.FailureType c : HystrixRuntimeException.FailureType.values()) System.out.println(c);
public static HystrixRuntimeException.FailureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null