public interface ValidationError
Represents a single validation error detected for a parameter. A validation error always
corresponds to exactly one ConstraintViolation
.
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the interpolated error message for this validation error using the current
request locale.
|
String |
getParamName()
The parameter name of the value that caused the validation error.
|
javax.validation.ConstraintViolation<?> |
getViolation()
The underlying
ConstraintViolation detected for the parameter. |
String getParamName()
FormParam
).javax.validation.ConstraintViolation<?> getViolation()
ConstraintViolation
detected for the parameter.String getMessage()
Copyright © 2017 Ivar Grimstad. All rights reserved.