public enum MachineIdConstant extends Enum<MachineIdConstant>
| Enum Constant and Description |
|---|
ID_BASE |
MID_FETCH_EXCEPTION |
MID_INSERT_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for error code.
|
String |
getErrorMessage()
Getter for error message.
|
int |
getValue()
Getter for value.
|
static MachineIdConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineIdConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachineIdConstant ID_BASE
public static final MachineIdConstant MID_FETCH_EXCEPTION
public static final MachineIdConstant MID_INSERT_EXCEPTION
public static MachineIdConstant[] values()
for (MachineIdConstant c : MachineIdConstant.values()) System.out.println(c);
public static MachineIdConstant 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 int getValue()
public String getErrorCode()
public String getErrorMessage()
Copyright © 2020. All rights reserved.