errorMessage

public String errorMessage(FieldContext field)

Produces an error message for the given field validation context.

Implementations may choose to ignore the field context or to embed its parts into the error message.

Parameters

field

the validated field