public enum Error extends Enum<Error>
Enum Constant and Description |
---|
COMPACT_ID_MISSING |
HEX_OUT_OF_RANGE |
INVALID_CONSTANT |
OK |
RESERVED_NONZERO |
SEGV |
STRING_TOO_SHORT |
UNKNOWN_ENUM |
UNKNOWN_GUID |
Modifier and Type | Method and Description |
---|---|
static Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error OK
public static final Error SEGV
public static final Error RESERVED_NONZERO
public static final Error UNKNOWN_ENUM
public static final Error INVALID_CONSTANT
public static final Error STRING_TOO_SHORT
public static final Error HEX_OUT_OF_RANGE
public static final Error COMPACT_ID_MISSING
public static final Error UNKNOWN_GUID
public static Error[] values()
for (Error c : Error.values()) System.out.println(c);
public static Error 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 nullCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.