public enum ValidationError extends java.lang.Enum<ValidationError>
| Enum Constant and Description |
|---|
INVALID_FORMAT |
MISSING_REQUIRED |
UNACCEPTABLE_VALUE |
VALUE_OVER_MAXIMUM |
VALUE_UNDER_MINIMUM |
| Modifier and Type | Method and Description |
|---|---|
static ValidationError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationError MISSING_REQUIRED
public static final ValidationError VALUE_UNDER_MINIMUM
public static final ValidationError VALUE_OVER_MAXIMUM
public static final ValidationError INVALID_FORMAT
public static final ValidationError UNACCEPTABLE_VALUE
public static ValidationError[] values()
for (ValidationError c : ValidationError.values()) System.out.println(c);
public static ValidationError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2019. All Rights Reserved.