public enum UploadErrors extends java.lang.Enum<UploadErrors>
Enum Constant and Description |
---|
AVR_CHIPTYPE |
CHIP_INIT |
FILE_OPEN |
HEX_FILE_OPEN |
NO_ERROR |
OPEN_DEVICE |
PAGE_WRITE |
SIGNATURE |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
getDescription() |
java.lang.String |
toString() |
static UploadErrors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UploadErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadErrors AVR_CHIPTYPE
public static final UploadErrors FILE_OPEN
public static final UploadErrors HEX_FILE_OPEN
public static final UploadErrors CHIP_INIT
public static final UploadErrors SIGNATURE
public static final UploadErrors PAGE_WRITE
public static final UploadErrors OPEN_DEVICE
public static final UploadErrors NO_ERROR
public static UploadErrors[] values()
for (UploadErrors c : UploadErrors.values()) System.out.println(c);
public static UploadErrors 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 java.lang.String getDescription()
public int getCode()
public java.lang.String toString()
toString
in class java.lang.Enum<UploadErrors>