public enum BlockingSendFailureReason extends java.lang.Enum<BlockingSendFailureReason>
Enum Constant and Description |
---|
ALREADY_SENDING_ANOTHER_MESSAGE |
CONNECTION_LOST_WHEN_SENDING |
ERROR_WHEN_TRYING_TO_SEND |
EXCEPTION_WHEN_WAITING |
TIME_LIMIT_REACHED |
Modifier and Type | Method and Description |
---|---|
static BlockingSendFailureReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockingSendFailureReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockingSendFailureReason ALREADY_SENDING_ANOTHER_MESSAGE
public static final BlockingSendFailureReason ERROR_WHEN_TRYING_TO_SEND
public static final BlockingSendFailureReason TIME_LIMIT_REACHED
public static final BlockingSendFailureReason EXCEPTION_WHEN_WAITING
public static final BlockingSendFailureReason CONNECTION_LOST_WHEN_SENDING
public static BlockingSendFailureReason[] values()
for (BlockingSendFailureReason c : BlockingSendFailureReason.values()) System.out.println(c);
public static BlockingSendFailureReason 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