public class ValidationError extends Object implements ErrorMessage
Constructor and Description |
---|
ValidationError(javax.validation.ConstraintViolation cv,
Locale locale,
ValidationErrorConfig config)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the error's message
|
public ValidationError(javax.validation.ConstraintViolation cv, Locale locale, ValidationErrorConfig config)
cv
- The constraint violationlocale
- The localeconfig
- The configpublic String getMessage()
getMessage
in interface ErrorMessage
Copyright © 2020 City of Paris. All rights reserved.