Interface Messages


@MessageBundle(projectCode="HV") public interface Messages
Author:
Hardy Ferentschik
  • Field Details

    • MESSAGES

      static final Messages MESSAGES
      The messages.
  • Method Details

    • mustNotBeNull

      @Message(value="must not be null.", format=NO_FORMAT) String mustNotBeNull()
    • mustNotBeNull

      @Message("%s must not be null.") String mustNotBeNull(String parameterName)
    • parameterMustNotBeNull

      @Message("The parameter \"%s\" must not be null.") String parameterMustNotBeNull(String parameterName)
    • parameterMustNotBeEmpty

      @Message("The parameter \"%s\" must not be empty.") String parameterMustNotBeEmpty(String parameterName)
    • parameterShouldBeGreaterThanOrEqualTo

      @Message("The parameter \"%s\" should be greater than or equal to %d.") String parameterShouldBeGreaterThanOrEqualTo(String parameterName, int val)
    • parameterShouldBeLessThanOrEqualTo

      @Message("The parameter \"%s\" should be less than or equal to %d.") String parameterShouldBeLessThanOrEqualTo(String parameterName, int val)
    • beanTypeCannotBeNull

      @Message(value="The bean type cannot be null.", format=NO_FORMAT) String beanTypeCannotBeNull()
    • propertyPathCannotBeNull

      @Message(value="null is not allowed as property path.", format=NO_FORMAT) String propertyPathCannotBeNull()
    • propertyNameMustNotBeEmpty

      @Message(value="The property name must not be empty.", format=NO_FORMAT) String propertyNameMustNotBeEmpty()
    • groupMustNotBeNull

      @Message(value="null passed as group name.", format=NO_FORMAT) String groupMustNotBeNull()
    • beanTypeMustNotBeNull

      @Message(value="The bean type must not be null when creating a constraint mapping.", format=NO_FORMAT) String beanTypeMustNotBeNull()
    • methodNameMustNotBeNull

      @Message(value="The method name must not be null.", format=NO_FORMAT) String methodNameMustNotBeNull()
    • validatedObjectMustNotBeNull

      @Message(value="The object to be validated must not be null.", format=NO_FORMAT) String validatedObjectMustNotBeNull()
    • validatedMethodMustNotBeNull

      @Message(value="The method to be validated must not be null.", format=NO_FORMAT) String validatedMethodMustNotBeNull()
    • classCannotBeNull

      @Message(value="The class cannot be null.", format=NO_FORMAT) String classCannotBeNull()
    • classIsNull

      @Message(value="Class is null.", format=NO_FORMAT) String classIsNull()
    • validatedConstructorMustNotBeNull

      @Message(value="The constructor to be validated must not be null.", format=NO_FORMAT) String validatedConstructorMustNotBeNull()
    • validatedParameterArrayMustNotBeNull

      @Message(value="The method parameter array cannot not be null.", format=NO_FORMAT) String validatedParameterArrayMustNotBeNull()
    • validatedConstructorCreatedInstanceMustNotBeNull

      @Message(value="The created instance must not be null.", format=NO_FORMAT) String validatedConstructorCreatedInstanceMustNotBeNull()
    • inputStreamCannotBeNull

      @Message("The input stream for #addMapping() cannot be null.") String inputStreamCannotBeNull()
    • constraintOnConstructorOfNonStaticInnerClass

      @Message("Constraints on the parameters of constructors of non-static inner classes are not supported if those parameters have a generic type due to JDK bug JDK-5087240.") String constraintOnConstructorOfNonStaticInnerClass()
    • parameterizedTypesWithMoreThanOneTypeArgument

      @Message("Custom parameterized types with more than one type argument are not supported and will not be checked for type use constraints.") String parameterizedTypesWithMoreThanOneTypeArgument()
    • unableToUseResourceBundleAggregation

      @Message("Hibernate Validator cannot instantiate AggregateResourceBundle.CONTROL. This can happen most notably in a Google App Engine environment or when running Hibernate Validator as Java 9 named module. A PlatformResourceBundleLocator without bundle aggregation was created. This only affects you in case you are using multiple ConstraintDefinitionContributor JARs. ConstraintDefinitionContributors are a Hibernate Validator specific feature. All Jakarta Bean Validation features work as expected. See also https://hibernate.atlassian.net/browse/HV-1023.") String unableToUseResourceBundleAggregation()
    • annotationTypeMustNotBeNull

      @Message(value="The annotation type must not be null when creating a constraint definition.", format=NO_FORMAT) String annotationTypeMustNotBeNull()
    • annotationTypeMustBeAnnotatedWithConstraint

      @Message(value="The annotation type must be annotated with @jakarta.validation.Constraint when creating a constraint definition.", format=NO_FORMAT) String annotationTypeMustBeAnnotatedWithConstraint()