Package jakarta.mvc.binding
Interface ValidationError
-
- All Superinterfaces:
ParamError
public interface ValidationError extends ParamError
Represents a single validation error detected for a parameter. A validation error always corresponds to exactly one
ConstraintViolation
.- Since:
- 1.0
- Author:
- Christian Kaltepoth, Ivar Grimstad
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.validation.ConstraintViolation<?>
getViolation()
The underlyingConstraintViolation
detected for the parameter.-
Methods inherited from interface jakarta.mvc.binding.ParamError
getMessage, getParamName
-
-