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