Package com.saperion.ngc.exception
Enum Class FieldValidationException.ValidationError
java.lang.Object
java.lang.Enum<FieldValidationException.ValidationError>
com.saperion.ngc.exception.FieldValidationException.ValidationError
- All Implemented Interfaces:
Serializable
,Comparable<FieldValidationException.ValidationError>
,Constable
- Enclosing class:
- FieldValidationException
public static enum FieldValidationException.ValidationError
extends Enum<FieldValidationException.ValidationError>
Possible validation errors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDate is out of range.Invalid text entered in double field.Invalid text entered in integer field.Value entered in a lookup field is not contained in the table.A mandatory field has no value.Maximum length of input exceeded. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANDATORY_FIELD_NOT_SET
A mandatory field has no value. -
MAX_LENGTH_EXCEEDED
Maximum length of input exceeded. -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-