public static enum FieldValidationException.ValidationError extends Enum<FieldValidationException.ValidationError>
Enum Constant and Description |
---|
DATE_OUT_OF_RANGE
Date is out of range.
|
INVALID_DOUBLE_FORMAT
Invalid text entered in double field.
|
INVALID_INT_FORMAT
Invalid text entered in integer field.
|
LOOKUP_FIXED_LINK_VIOLATED
Value entered in a lookup field is not contained in the table.
|
MANDATORY_FIELD_NOT_SET
A mandatory field has no value.
|
MAX_LENGTH_EXCEEDED
Maximum length of input exceeded.
|
Modifier and Type | Method and Description |
---|---|
static FieldValidationException.ValidationError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldValidationException.ValidationError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldValidationException.ValidationError MANDATORY_FIELD_NOT_SET
public static final FieldValidationException.ValidationError MAX_LENGTH_EXCEEDED
public static final FieldValidationException.ValidationError DATE_OUT_OF_RANGE
public static final FieldValidationException.ValidationError INVALID_DOUBLE_FORMAT
public static final FieldValidationException.ValidationError INVALID_INT_FORMAT
public static final FieldValidationException.ValidationError LOOKUP_FIXED_LINK_VIOLATED
public static FieldValidationException.ValidationError[] values()
for (FieldValidationException.ValidationError c : FieldValidationException.ValidationError.values()) System.out.println(c);
public static FieldValidationException.ValidationError 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 © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.