Class ConstraintViolationMessage

java.lang.Object
org.springframework.data.rest.webmvc.support.ConstraintViolationMessage

public class ConstraintViolationMessage extends Object
A helper class to encapsulate ConstraintViolation errors.
Author:
Jon Brisbin
  • Constructor Details

    • ConstraintViolationMessage

      public ConstraintViolationMessage(jakarta.validation.ConstraintViolation<?> violation, MessageSource msgSrc, Locale locale)
  • Method Details

    • getEntity

      public String getEntity()
    • getMessage

      public String getMessage()
    • getInvalidValue

      public String getInvalidValue()
    • getProperty

      public String getProperty()