Interface ValidationError

All Superinterfaces:
ParamError
All Known Implementing Classes:
ValidationErrorImpl

public interface ValidationError extends ParamError
Represents an error that occurs during the validation process in the MVC lutece framework. This interface extends ParamError to include details about the specific validation violation detected for a parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.validation.ConstraintViolation<?>
    The underlying ConstraintViolation detected for the parameter.

    Methods inherited from interface fr.paris.lutece.portal.util.mvc.binding.ParamError

    getMessage, getParamName
  • Method Details

    • getViolation

      jakarta.validation.ConstraintViolation<?> getViolation()
      The underlying ConstraintViolation detected for the parameter.
      Returns:
      The violation detected for the parameter