public static enum UploadError.Tag extends Enum<UploadError.Tag>
UploadError
.Enum Constant and Description |
---|
OTHER
An unspecified error.
|
PATH
Unable to save the uploaded contents to a file.
|
Modifier and Type | Method and Description |
---|---|
static UploadError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UploadError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadError.Tag PATH
public static final UploadError.Tag OTHER
public static UploadError.Tag[] values()
for (UploadError.Tag c : UploadError.Tag.values()) System.out.println(c);
public static UploadError.Tag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null