Class ValidationError
java.lang.Object
fr.paris.lutece.util.beanvalidation.ValidationError
- All Implemented Interfaces:
ErrorMessage
ValidationError
-
Constructor Summary
ConstructorsConstructorDescriptionValidationError(javax.validation.ConstraintViolation cv, Locale locale, ValidationErrorConfig config) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the field nameReturns the error's message
-
Constructor Details
-
ValidationError
public ValidationError(javax.validation.ConstraintViolation cv, Locale locale, ValidationErrorConfig config) Constructor- Parameters:
cv- The constraint violationlocale- The localeconfig- The config
-
-
Method Details
-
getMessage
Returns the error's message- Specified by:
getMessagein interfaceErrorMessage- Returns:
- The message
-
getFieldName
Returns the field name- Specified by:
getFieldNamein interfaceErrorMessage- Returns:
- the field name
-