public enum UinExceptionConstant extends Enum<UinExceptionConstant>
| Enum Constant and Description |
|---|
UIN_VAL_ILLEGAL_CHECKSUM |
UIN_VAL_ILLEGAL_EQUAL_LIMIT |
UIN_VAL_ILLEGAL_LENGTH |
UIN_VAL_ILLEGAL_REVERSE |
UIN_VAL_ILLEGAL_SEQUENCE_REPEATATIVE |
UIN_VAL_INVALID_DIGITS |
UIN_VAL_INVALID_NULL |
UIN_VAL_INVALID_ZERO_ONE |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for errorCode.
|
String |
getErrorMessage()
Getter for errorMessage.
|
static UinExceptionConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UinExceptionConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UinExceptionConstant UIN_VAL_INVALID_NULL
public static final UinExceptionConstant UIN_VAL_ILLEGAL_SEQUENCE_REPEATATIVE
public static final UinExceptionConstant UIN_VAL_ILLEGAL_LENGTH
public static final UinExceptionConstant UIN_VAL_INVALID_DIGITS
public static final UinExceptionConstant UIN_VAL_ILLEGAL_CHECKSUM
public static final UinExceptionConstant UIN_VAL_INVALID_ZERO_ONE
public static final UinExceptionConstant UIN_VAL_ILLEGAL_REVERSE
public static final UinExceptionConstant UIN_VAL_ILLEGAL_EQUAL_LIMIT
public static UinExceptionConstant[] values()
for (UinExceptionConstant c : UinExceptionConstant.values()) System.out.println(c);
public static UinExceptionConstant 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.