public enum ErrorType extends Enum<ErrorType>
| Enum Constant and Description |
|---|
DUPLICATEFIELD |
DUPLICATEFIELDNAME |
INVALIDRULE |
MISSINGFIELD |
NODATA |
PARSINGERROR |
REFERROR |
RULEFAIL |
UNKNOWNFIELD |
UNKNOWNRULE |
WRONGTYPE |
| Modifier and Type | Method and Description |
|---|---|
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType PARSINGERROR
public static final ErrorType MISSINGFIELD
public static final ErrorType UNKNOWNFIELD
public static final ErrorType DUPLICATEFIELD
public static final ErrorType DUPLICATEFIELDNAME
public static final ErrorType NODATA
public static final ErrorType WRONGTYPE
public static final ErrorType RULEFAIL
public static final ErrorType UNKNOWNRULE
public static final ErrorType INVALIDRULE
public static final ErrorType REFERROR
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 nullCopyright © 2020. All rights reserved.