public enum VidExceptionConstant extends Enum<VidExceptionConstant>
| Enum Constant and Description |
|---|
VID_VAL_ILLEGAL_CHECKSUM |
VID_VAL_ILLEGAL_LENGTH |
VID_VAL_ILLEGAL_SEQUENCE_REPEATATIVE |
VID_VAL_INVALID_DIGITS |
VID_VAL_INVALID_NULL |
VID_VAL_INVALID_ZERO_ONE |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for errorCode.
|
String |
getErrorMessage()
Getter for errorMessage.
|
static VidExceptionConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VidExceptionConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VidExceptionConstant VID_VAL_INVALID_NULL
public static final VidExceptionConstant VID_VAL_ILLEGAL_SEQUENCE_REPEATATIVE
public static final VidExceptionConstant VID_VAL_ILLEGAL_LENGTH
public static final VidExceptionConstant VID_VAL_INVALID_DIGITS
public static final VidExceptionConstant VID_VAL_ILLEGAL_CHECKSUM
public static final VidExceptionConstant VID_VAL_INVALID_ZERO_ONE
public static VidExceptionConstant[] values()
for (VidExceptionConstant c : VidExceptionConstant.values()) System.out.println(c);
public static VidExceptionConstant 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.