Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
OK
public static final Error OK
SEGV
public static final Error SEGV
RESERVED_NONZERO
public static final Error RESERVED_NONZERO
UNKNOWN_ENUM
public static final Error UNKNOWN_ENUM
INVALID_CONSTANT
public static final Error INVALID_CONSTANT
STRING_TOO_SHORT
public static final Error STRING_TOO_SHORT
HEX_OUT_OF_RANGE
public static final Error HEX_OUT_OF_RANGE
COMPACT_ID_MISSING
public static final Error COMPACT_ID_MISSING
UNKNOWN_GUID
public static final Error UNKNOWN_GUID
Method Details
values
public static Error [] values ()
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null