- All Superinterfaces:
ParamError
Represents a single validation error detected for a parameter. A validation error always
corresponds to exactly one ConstraintViolation
.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.validation.ConstraintViolation
<?> The underlyingConstraintViolation
detected for the parameter.Methods inherited from interface jakarta.mvc.binding.ParamError
getMessage, getParamName
-
Method Details
-
getViolation
jakarta.validation.ConstraintViolation<?> getViolation()The underlyingConstraintViolation
detected for the parameter.- Returns:
- The violation detected for the parameter
-