Interface Messages
@MessageBundle(projectCode="HV")
public interface Messages
- Author:
- Hardy Ferentschik
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionmustNotBeNull
(String parameterName) parameterMustNotBeEmpty
(String parameterName) parameterMustNotBeNull
(String parameterName) parameterShouldBeGreaterThanOrEqualTo
(String parameterName, int val) parameterShouldBeLessThanOrEqualTo
(String parameterName, int val)
-
Field Details
-
MESSAGES
The messages.
-
-
Method Details
-
mustNotBeNull
-
mustNotBeNull
-
parameterMustNotBeNull
-
parameterMustNotBeEmpty
-
parameterShouldBeGreaterThanOrEqualTo
-
parameterShouldBeLessThanOrEqualTo
-
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
-
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
-
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
-
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()
-