Following example code prints out the warning
import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationException; import javax.