fr.paris.lutece.util.beanvalidation
Class ValidationError
java.lang.Object
fr.paris.lutece.util.beanvalidation.ValidationError
- All Implemented Interfaces:
- ErrorMessage
public class ValidationError
- extends Object
- implements ErrorMessage
ValidationError
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationError
public ValidationError(javax.validation.ConstraintViolation cv,
Locale locale,
ValidationErrorConfig config)
- Constructor
- Parameters:
cv
- The constraint violationlocale
- The localeconfig
- The config
getMessage
public String getMessage()
- Returns the error's message
- Specified by:
getMessage
in interface ErrorMessage
- Returns:
- The message
Copyright © 2014 Mairie de Paris. All Rights Reserved.