public static enum FileQueueErrorEvent.ErrorCode extends java.lang.Enum<FileQueueErrorEvent.ErrorCode>
| Enum Constant and Description |
|---|
FILE_EXCEEDS_SIZE_LIMIT |
INVALID_FILETYPE |
QUEUE_LIMIT_EXCEEDED |
UNKNOWN |
ZERO_BYTE_FILE |
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
static FileQueueErrorEvent.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileQueueErrorEvent.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileQueueErrorEvent.ErrorCode UNKNOWN
public static final FileQueueErrorEvent.ErrorCode QUEUE_LIMIT_EXCEEDED
public static final FileQueueErrorEvent.ErrorCode FILE_EXCEEDS_SIZE_LIMIT
public static final FileQueueErrorEvent.ErrorCode ZERO_BYTE_FILE
public static final FileQueueErrorEvent.ErrorCode INVALID_FILETYPE
public static FileQueueErrorEvent.ErrorCode[] values()
for (FileQueueErrorEvent.ErrorCode c : FileQueueErrorEvent.ErrorCode.values()) System.out.println(c);
public static FileQueueErrorEvent.ErrorCode 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 int toInt()