public enum RidGeneratorExceptionConstant extends Enum<RidGeneratorExceptionConstant>
| Enum Constant and Description |
|---|
EMPTY_INPUT_ERROR_CODE |
INPUT_LENGTH_ERROR_CODE |
INVALID_CENTERID_OR_MACHINEID_TIMESTAMP_LENGTH |
INVALID_SEQ_LENGTH_EXCEPTION |
NULL_VALUE_ERROR_CODE |
RID_FETCH_EXCEPTION |
RID_UPDATE_EXCEPTION |
| Modifier and Type | Field and Description |
|---|---|
String |
errorCode
The errorCode.
|
String |
errorMessage
The errorMessage.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for errorCode.
|
String |
getErrorMessage()
Getter for errorMessage.
|
static RidGeneratorExceptionConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RidGeneratorExceptionConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RidGeneratorExceptionConstant EMPTY_INPUT_ERROR_CODE
public static final RidGeneratorExceptionConstant INPUT_LENGTH_ERROR_CODE
public static final RidGeneratorExceptionConstant NULL_VALUE_ERROR_CODE
public static final RidGeneratorExceptionConstant INVALID_CENTERID_OR_MACHINEID_TIMESTAMP_LENGTH
public static final RidGeneratorExceptionConstant RID_FETCH_EXCEPTION
public static final RidGeneratorExceptionConstant RID_UPDATE_EXCEPTION
public static final RidGeneratorExceptionConstant INVALID_SEQ_LENGTH_EXCEPTION
public final String errorCode
public final String errorMessage
public static RidGeneratorExceptionConstant[] values()
for (RidGeneratorExceptionConstant c : RidGeneratorExceptionConstant.values()) System.out.println(c);
public static RidGeneratorExceptionConstant 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 String getErrorCode()
public String getErrorMessage()
Copyright © 2020. All rights reserved.