layout: default title: ConversionErrorFieldValidator Annotation parent: title: Annotations url: annotations.html

ConversionErrorFieldValidator Annotation

This validator checks if there are any conversion errors for a field and applies them if they exist. See Type Conversion Error Handling for details.

Usage

The ConversionErrorFieldValidator annotation must be applied at method level.

Parameters

Examples

 @ConversionErrorFieldValidator(message = "Default message", key = "i18n.key", shortCircuit = true)