public enum MemoryErrorCode extends Enum<MemoryErrorCode> implements ErrorCodeSupplier
| Enum Constant and Description |
|---|
MEMORY_LIMIT_EXCEEDED |
MISSING_DATA |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
toErrorCode() |
static MemoryErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryErrorCode MISSING_DATA
public static final MemoryErrorCode MEMORY_LIMIT_EXCEEDED
public static MemoryErrorCode[] values()
for (MemoryErrorCode c : MemoryErrorCode.values()) System.out.println(c);
public static MemoryErrorCode 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 nullpublic ErrorCode toErrorCode()
toErrorCode in interface ErrorCodeSupplierCopyright © 2012–2021. All rights reserved.