public enum FailureType extends java.lang.Enum<FailureType>
Request
to never receive its response message.Enum Constant and Description |
---|
DISCONNECTED |
SEND_EXCEPTION |
SHUT_DOWN |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
StatusCode.SubCode |
getStatusSubCode() |
static FailureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureType TIMEOUT
public static final FailureType SEND_EXCEPTION
public static final FailureType SHUT_DOWN
public static final FailureType DISCONNECTED
public static FailureType[] values()
for (FailureType c : FailureType.values()) System.out.println(c);
public static 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 nullpublic StatusCode.SubCode getStatusSubCode()