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