Class ConstraintViolationMessage
java.lang.Object
org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
A helper class to encapsulate
ConstraintViolation
errors.- Author:
- Jon Brisbin
-
Constructor Summary
ConstructorDescriptionConstraintViolationMessage
(jakarta.validation.ConstraintViolation<?> violation, org.springframework.context.MessageSource msgSrc, Locale locale) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ConstraintViolationMessage
public ConstraintViolationMessage(jakarta.validation.ConstraintViolation<?> violation, org.springframework.context.MessageSource msgSrc, Locale locale)
-
-
Method Details
-
getEntity
-
getMessage
-
getInvalidValue
-
getProperty
-