public static enum UploadErrorEvent.ErrorCode extends java.lang.Enum<UploadErrorEvent.ErrorCode>
| Enum Constant and Description |
|---|
FILE_CANCELLED |
FILE_VALIDATION_FAILED |
HTTP_ERROR |
IO_ERROR |
MISSING_UPLOAD_URL |
SECURITY_ERROR |
SPECIFIED_FILE_ID_NOT_FOUND |
UNKNOWN |
UPLOAD_FAILED |
UPLOAD_LIMIT_EXCEEDED |
UPLOAD_STOPPED |
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
static UploadErrorEvent.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UploadErrorEvent.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadErrorEvent.ErrorCode UNKNOWN
public static final UploadErrorEvent.ErrorCode HTTP_ERROR
public static final UploadErrorEvent.ErrorCode MISSING_UPLOAD_URL
public static final UploadErrorEvent.ErrorCode IO_ERROR
public static final UploadErrorEvent.ErrorCode SECURITY_ERROR
public static final UploadErrorEvent.ErrorCode UPLOAD_LIMIT_EXCEEDED
public static final UploadErrorEvent.ErrorCode UPLOAD_FAILED
public static final UploadErrorEvent.ErrorCode SPECIFIED_FILE_ID_NOT_FOUND
public static final UploadErrorEvent.ErrorCode FILE_VALIDATION_FAILED
public static final UploadErrorEvent.ErrorCode FILE_CANCELLED
public static final UploadErrorEvent.ErrorCode UPLOAD_STOPPED
public static UploadErrorEvent.ErrorCode[] values()
for (UploadErrorEvent.ErrorCode c : UploadErrorEvent.ErrorCode.values()) System.out.println(c);
public static UploadErrorEvent.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()