getErrors() Returns the validation errors produced while validating this
Constraint .
public void
setCustomErrorMessage(String customErrorMessage) Sets the custom error message, that will be used in place of default ones when
this
Constraint does not hold.
Returns the validation errors produced while validating this
Constraint .
validation errors.
setCustomErrorMessage
public void setCustomErrorMessage(String customErrorMessage)(Code)
Sets the custom error message, that will be used in place of default ones when
this
Constraint does not hold.
Parameters: customErrorMessage - custom error message