Interface Log

  • All Superinterfaces:
    BasicLogger
    All Known Implementing Classes:
    Log_$logger

    @MessageLogger(projectCode="HV")
    public interface Log
    extends BasicLogger
    The Hibernate Validator logger interface for JBoss Logging.

    Note:
    New log messages must always use a new (incremented) message id. Don't re-use of existing message ids, even if a given log method is not used anymore. Unused messages can be deleted.

    Author:
    Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
    • Method Detail

      • version

        @LogMessage(level=INFO)
        @Message(id=1,
                 value="Hibernate Validator %s")
        void version​(String version)
      • ignoringXmlConfiguration

        @LogMessage(level=DEBUG)
        @Message(id=2,
                 value="Ignoring XML configuration.")
        void ignoringXmlConfiguration()
      • parsingXMLFile

        @LogMessage(level=DEBUG)
        @Message(id=7,
                 value="%s found. Parsing XML based configuration.")
        void parsingXMLFile​(String fileName)
      • unableToCloseInputStream

        @LogMessage(level=WARN)
        @Message(id=8,
                 value="Unable to close input stream.")
        void unableToCloseInputStream()
      • unableToCloseXMLFileInputStream

        @LogMessage(level=WARN)
        @Message(id=10,
                 value="Unable to close input stream for %s.")
        void unableToCloseXMLFileInputStream​(String fileName)
      • unableToCreateSchema

        @LogMessage(level=WARN)
        @Message(id=11,
                 value="Unable to create schema for %1$s: %2$s")
        void unableToCreateSchema​(String fileName,
                                  String message)
      • getUnableToCreateAnnotationForConfiguredConstraintException

        @Message(id=12,
                 value="Unable to create annotation for configured constraint")
        ValidationException getUnableToCreateAnnotationForConfiguredConstraintException​(@Cause
                                                                                        RuntimeException e)
      • getInvalidLengthForIntegerPartException

        @Message(id=17,
                 value="The length of the integer part cannot be negative.")
        IllegalArgumentException getInvalidLengthForIntegerPartException()
      • getInvalidLengthForFractionPartException

        @Message(id=18,
                 value="The length of the fraction part cannot be negative.")
        IllegalArgumentException getInvalidLengthForFractionPartException()
      • getMinCannotBeNegativeException

        @Message(id=19,
                 value="The min parameter cannot be negative.")
        IllegalArgumentException getMinCannotBeNegativeException()
      • getMaxCannotBeNegativeException

        @Message(id=20,
                 value="The max parameter cannot be negative.")
        IllegalArgumentException getMaxCannotBeNegativeException()
      • getLengthCannotBeNegativeException

        @Message(id=21,
                 value="The length cannot be negative.")
        IllegalArgumentException getLengthCannotBeNegativeException()
      • getErrorDuringScriptExecutionException

        @Message(id=23,
                 value="Error during execution of script \"%s\" occurred.")
        ConstraintDeclarationException getErrorDuringScriptExecutionException​(String script,
                                                                              @Cause
                                                                              Exception e)
      • getScriptMustReturnTrueOrFalseException

        @Message(id=24,
                 value="Script \"%s\" returned null, but must return either true or false.")
        ConstraintDeclarationException getScriptMustReturnTrueOrFalseException​(String script)
      • getScriptMustReturnTrueOrFalseException

        @Message(id=25,
                 value="Script \"%1$s\" returned %2$s (of type %3$s), but must return either true or false.")
        ConstraintDeclarationException getScriptMustReturnTrueOrFalseException​(String script,
                                                                               Object executionResult,
                                                                               String type)
      • getInconsistentConfigurationException

        @Message(id=26,
                 value="Assertion error: inconsistent ConfigurationImpl construction.")
        ValidationException getInconsistentConfigurationException()
      • getExceptionDuringIsValidCallException

        @Message(id=28,
                 value="Unexpected exception during isValid call.")
        ValidationException getExceptionDuringIsValidCallException​(@Cause
                                                                   RuntimeException e)
      • getAtLeastOneCustomMessageMustBeCreatedException

        @Message(id=33,
                 value="At least one custom message must be created if the default error message gets disabled.")
        ValidationException getAtLeastOneCustomMessageMustBeCreatedException()
      • getInvalidJavaIdentifierException

        @Message(id=34,
                 value="%s is not a valid Java Identifier.")
        IllegalArgumentException getInvalidJavaIdentifierException​(String identifier)
      • getUnableToParsePropertyPathException

        @Message(id=35,
                 value="Unable to parse property path %s.")
        IllegalArgumentException getUnableToParsePropertyPathException​(String propertyPath)
      • getInconsistentFailFastConfigurationException

        @Message(id=37,
                 value="Inconsistent fail fast configuration. Fail fast enabled via programmatic API, but explicitly disabled via properties.")
        ValidationException getInconsistentFailFastConfigurationException()
      • getInvalidPropertyPathException

        @Message(id=38,
                 value="Invalid property path.")
        IllegalArgumentException getInvalidPropertyPathException()
      • getInvalidPropertyPathException

        @Message(id=39,
                 value="Invalid property path. Either there is no property %2$s in entity %1$s or it is not possible to cascade to the property.")
        IllegalArgumentException getInvalidPropertyPathException​(@FormatWith(ClassObjectFormatter.class)
                                                                 Class<?> beanClass,
                                                                 String propertyName)
      • getPropertyPathMustProvideIndexOrMapKeyException

        @Message(id=40,
                 value="Property path must provide index or map key.")
        IllegalArgumentException getPropertyPathMustProvideIndexOrMapKeyException()
      • getErrorDuringCallOfTraversableResolverIsReachableException

        @Message(id=41,
                 value="Call to TraversableResolver.isReachable() threw an exception.")
        ValidationException getErrorDuringCallOfTraversableResolverIsReachableException​(@Cause
                                                                                        RuntimeException e)
      • getErrorDuringCallOfTraversableResolverIsCascadableException

        @Message(id=42,
                 value="Call to TraversableResolver.isCascadable() threw an exception.")
        ValidationException getErrorDuringCallOfTraversableResolverIsCascadableException​(@Cause
                                                                                         RuntimeException e)
      • getAtLeastOneGroupHasToBeSpecifiedException

        @Message(id=44,
                 value="At least one group has to be specified.")
        IllegalArgumentException getAtLeastOneGroupHasToBeSpecifiedException()
      • getSequenceDefinitionsNotAllowedException

        @Message(id=46,
                 value="Sequence definitions are not allowed as composing parts of a sequence.")
        GroupDefinitionException getSequenceDefinitionsNotAllowedException()
      • getCyclicDependencyInGroupsDefinitionException

        @Message(id=47,
                 value="Cyclic dependency in groups definition")
        GroupDefinitionException getCyclicDependencyInGroupsDefinitionException()
      • getUnableToExpandGroupSequenceException

        @Message(id=48,
                 value="Unable to expand group sequence.")
        GroupDefinitionException getUnableToExpandGroupSequenceException()
      • getInvalidDefaultGroupSequenceDefinitionException

        @Message(id=52,
                 value="Default group sequence and default group sequence provider cannot be defined at the same time.")
        GroupDefinitionException getInvalidDefaultGroupSequenceDefinitionException()
      • getNoDefaultGroupInGroupSequenceException

        @Message(id=53,
                 value="\'Default.class\' cannot appear in default group sequence list.")
        GroupDefinitionException getNoDefaultGroupInGroupSequenceException()
      • getBeanClassMustBePartOfRedefinedDefaultGroupSequenceException

        @Message(id=54,
                 value="%s must be part of the redefined default group sequence.")
        GroupDefinitionException getBeanClassMustBePartOfRedefinedDefaultGroupSequenceException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                Class<?> beanClass)
      • getWrongDefaultGroupSequenceProviderTypeException

        @Message(id=55,
                 value="The default group sequence provider defined for %s has the wrong type")
        GroupDefinitionException getWrongDefaultGroupSequenceProviderTypeException​(@FormatWith(ClassObjectFormatter.class)
                                                                                   Class<?> beanClass)
      • getInvalidExecutableParameterIndexException

        @Message(id=56,
                 value="Method or constructor %1$s doesn\'t have a parameter with index %2$d.")
        IllegalArgumentException getInvalidExecutableParameterIndexException​(Callable callable,
                                                                             int index)
      • getUnableToRetrieveAnnotationParameterValueException

        @Message(id=59,
                 value="Unable to retrieve annotation parameter value.")
        ValidationException getUnableToRetrieveAnnotationParameterValueException​(@Cause
                                                                                 Exception e)
      • getInvalidLengthOfParameterMetaDataListException

        @Message(id=62,
                 value="Method or constructor %1$s has %2$s parameters, but the passed list of parameter meta data has a size of %3$s.")
        IllegalArgumentException getInvalidLengthOfParameterMetaDataListException​(Callable callable,
                                                                                  int nbParameters,
                                                                                  int listSize)
      • getStartIndexCannotBeNegativeException

        @Message(id=68,
                 value="Start index cannot be negative: %d.")
        IllegalArgumentException getStartIndexCannotBeNegativeException​(int startIndex)
      • getEndIndexCannotBeNegativeException

        @Message(id=69,
                 value="End index cannot be negative: %d.")
        IllegalArgumentException getEndIndexCannotBeNegativeException​(int endIndex)
      • getInvalidRangeException

        @Message(id=70,
                 value="Invalid Range: %1$d > %2$d.")
        IllegalArgumentException getInvalidRangeException​(int startIndex,
                                                          int endIndex)
      • getInvalidCheckDigitException

        @Message(id=71,
                 value="A explicitly specified check digit must lie outside the interval: [%1$d, %2$d].")
        IllegalArgumentException getInvalidCheckDigitException​(int startIndex,
                                                               int endIndex)
      • getCharacterIsNotADigitException

        @Message(id=72,
                 value="\'%c\' is not a digit.")
        NumberFormatException getCharacterIsNotADigitException​(char c)
      • getConstraintParametersCannotStartWithValidException

        @Message(id=73,
                 value="Parameters starting with \'valid\' are not allowed in a constraint.")
        ConstraintDefinitionException getConstraintParametersCannotStartWithValidException()
      • getConstraintWithoutMandatoryParameterException

        @Message(id=74,
                 value="%2$s contains Constraint annotation, but does not contain a %1$s parameter.")
        ConstraintDefinitionException getConstraintWithoutMandatoryParameterException​(String parameterName,
                                                                                      String constraintName)
      • getWrongDefaultValueForPayloadParameterException

        @Message(id=75,
                 value="%s contains Constraint annotation, but the payload parameter default value is not the empty array.")
        ConstraintDefinitionException getWrongDefaultValueForPayloadParameterException​(String constraintName)
      • getWrongTypeForPayloadParameterException

        @Message(id=76,
                 value="%s contains Constraint annotation, but the payload parameter is of wrong type.")
        ConstraintDefinitionException getWrongTypeForPayloadParameterException​(String constraintName,
                                                                               @Cause
                                                                               ClassCastException e)
      • getWrongDefaultValueForGroupsParameterException

        @Message(id=77,
                 value="%s contains Constraint annotation, but the groups parameter default value is not the empty array.")
        ConstraintDefinitionException getWrongDefaultValueForGroupsParameterException​(String constraintName)
      • getWrongTypeForGroupsParameterException

        @Message(id=78,
                 value="%s contains Constraint annotation, but the groups parameter is of wrong type.")
        ConstraintDefinitionException getWrongTypeForGroupsParameterException​(String constraintName,
                                                                              @Cause
                                                                              ClassCastException e)
      • getWrongTypeForMessageParameterException

        @Message(id=79,
                 value="%s contains Constraint annotation, but the message parameter is not of type java.lang.String.")
        ConstraintDefinitionException getWrongTypeForMessageParameterException​(String constraintName)
      • getOverriddenConstraintAttributeNotFoundException

        @Message(id=80,
                 value="Overridden constraint does not define an attribute with name %s.")
        ConstraintDefinitionException getOverriddenConstraintAttributeNotFoundException​(String attributeName)
      • getTryingToInstantiateAnnotationWithUnknownAttributesException

        @Message(id=86,
                 value="Trying to instantiate annotation %1$s with unknown attribute(s): %2$s.")
        RuntimeException getTryingToInstantiateAnnotationWithUnknownAttributesException​(@FormatWith(ClassObjectFormatter.class)
                                                                                        Class<? extends Annotation> annotationType,
                                                                                        Set<String> unknownParameters)
      • getPropertyNameCannotBeNullOrEmptyException

        @Message(id=87,
                 value="Property name cannot be null or empty.")
        IllegalArgumentException getPropertyNameCannotBeNullOrEmptyException()
      • getElementTypeHasToBeFieldOrMethodException

        @Message(id=88,
                 value="Element type has to be FIELD or METHOD.")
        IllegalArgumentException getElementTypeHasToBeFieldOrMethodException()
      • getMemberIsNeitherAFieldNorAMethodException

        @Message(id=89,
                 value="Member %s is neither a field nor a method.")
        IllegalArgumentException getMemberIsNeitherAFieldNorAMethodException​(Member member)
      • getUnableToAccessMemberException

        @Message(id=90,
                 value="Unable to access %s.")
        ValidationException getUnableToAccessMemberException​(String memberName,
                                                             @Cause
                                                             Exception e)
      • getNullIsAnInvalidTypeForAConstraintValidatorException

        @Message(id=93,
                 value="null is an invalid type for a constraint validator.")
        ValidationException getNullIsAnInvalidTypeForAConstraintValidatorException()
      • getMissingActualTypeArgumentForTypeParameterException

        @Message(id=94,
                 value="Missing actual type argument for type parameter: %s.")
        IllegalArgumentException getMissingActualTypeArgumentForTypeParameterException​(TypeVariable<?> typeParameter)
      • getUnableToInstantiateConstraintValidatorFactoryClassException

        @Message(id=95,
                 value="Unable to instantiate constraint factory class %s.")
        ValidationException getUnableToInstantiateConstraintValidatorFactoryClassException​(String constraintValidatorFactoryClassName,
                                                                                           @Cause
                                                                                           ValidationException e)
      • getUnableToOpenInputStreamForMappingFileException

        @Message(id=96,
                 value="Unable to open input stream for mapping file %s.")
        ValidationException getUnableToOpenInputStreamForMappingFileException​(String mappingFileName)
      • getUnableToInstantiateMessageInterpolatorClassException

        @Message(id=97,
                 value="Unable to instantiate message interpolator class %s.")
        ValidationException getUnableToInstantiateMessageInterpolatorClassException​(String messageInterpolatorClassName,
                                                                                    @Cause
                                                                                    Exception e)
      • getUnableToInstantiateTraversableResolverClassException

        @Message(id=98,
                 value="Unable to instantiate traversable resolver class %s.")
        ValidationException getUnableToInstantiateTraversableResolverClassException​(String traversableResolverClassName,
                                                                                    @Cause
                                                                                    Exception e)
      • getUnableToInstantiateValidationProviderClassException

        @Message(id=99,
                 value="Unable to instantiate validation provider class %s.")
        ValidationException getUnableToInstantiateValidationProviderClassException​(String providerClassName,
                                                                                   @Cause
                                                                                   Exception e)
      • getUnableToParseValidationXmlFileException

        @Message(id=100,
                 value="Unable to parse %s.")
        ValidationException getUnableToParseValidationXmlFileException​(String file,
                                                                       @Cause
                                                                       Exception e)
      • getBeanClassHasAlreadyBeenConfiguredInXmlException

        @Message(id=103,
                 value="%s is configured at least twice in xml.")
        ValidationException getBeanClassHasAlreadyBeenConfiguredInXmlException​(@FormatWith(ClassObjectFormatter.class)
                                                                               Class<?> beanClass)
      • getAttemptToSpecifyAnArrayWhereSingleValueIsExpectedException

        @Message(id=108,
                 value="Attempt to specify an array where single value is expected.")
        ValidationException getAttemptToSpecifyAnArrayWhereSingleValueIsExpectedException()
      • getUnexpectedParameterValueException

        @Message(id=109,
                 value="Unexpected parameter value.")
        ValidationException getUnexpectedParameterValueException()
      • getInvalidCharValueException

        @Message(id=111,
                 value="Invalid char value: %s.")
        ValidationException getInvalidCharValueException​(String value)
      • getReservedParameterNamesException

        @Message(id=113,
                 value="%s, %s, %s are reserved parameter names.")
        ValidationException getReservedParameterNamesException​(String messageParameterName,
                                                               String groupsParameterName,
                                                               String payloadParameterName)
      • getErrorParsingMappingFileException

        @Message(id=115,
                 value="Error parsing mapping file.")
        ValidationException getErrorParsingMappingFileException​(@Cause
                                                                Exception e)
      • getUnableToInstantiateParameterNameProviderClassException

        @Message(id=120,
                 value="Unable to instantiate parameter name provider class %s.")
        ValidationException getUnableToInstantiateParameterNameProviderClassException​(String parameterNameProviderClassName,
                                                                                      @Cause
                                                                                      ValidationException e)
      • getUnsupportedSchemaVersionException

        @Message(id=122,
                 value="Unsupported schema version for %s: %s.")
        ValidationException getUnsupportedSchemaVersionException​(String file,
                                                                 String version)
      • getGroupConversionOnNonCascadingElementException

        @Message(id=125,
                 value="Found group conversions for non-cascading element at: %s.")
        ConstraintDeclarationException getGroupConversionOnNonCascadingElementException​(Object context)
      • unknownPropertyInExpressionLanguage

        @LogMessage(level=WARN)
        @Message(id=129,
                 value="EL expression \'%s\' references an unknown property")
        void unknownPropertyInExpressionLanguage​(String expression,
                                                 @Cause
                                                 Exception e)
      • errorInExpressionLanguage

        @LogMessage(level=WARN)
        @Message(id=130,
                 value="Error in EL expression \'%s\'")
        void errorInExpressionLanguage​(String expression,
                                       @Cause
                                       Exception e)
      • getMethodReturnValueMustNotBeMarkedMoreThanOnceForCascadedValidationException

        @Message(id=131,
                 value="A method return value must not be marked for cascaded validation more than once in a class hierarchy, but the following two methods are marked as such: %s, %s.")
        ConstraintDeclarationException getMethodReturnValueMustNotBeMarkedMoreThanOnceForCascadedValidationException​(Callable callable1,
                                                                                                                     Callable callable2)
      • getVoidMethodsMustNotBeConstrainedException

        @Message(id=132,
                 value="Void methods must not be constrained or marked for cascaded validation, but method %s is.")
        ConstraintDeclarationException getVoidMethodsMustNotBeConstrainedException​(Callable callable)
      • getUnableToLoadConstraintAnnotationClassException

        @Message(id=136,
                 value="The specified constraint annotation class %1$s cannot be loaded.")
        ValidationException getUnableToLoadConstraintAnnotationClassException​(String constraintAnnotationClassName,
                                                                              @Cause
                                                                              Exception e)
      • getParameterNodeAddedForNonCrossParameterConstraintException

        @Message(id=146,
                 value="No parameter nodes may be added since path %s doesn\'t refer to a cross-parameter constraint.")
        IllegalStateException getParameterNodeAddedForNonCrossParameterConstraintException​(Path path)
      • getConstrainedElementConfiguredMultipleTimesException

        @Message(id=147,
                 value="%1$s is configured multiple times (note, <getter> and <method> nodes for the same method are not allowed)")
        ValidationException getConstrainedElementConfiguredMultipleTimesException​(String location)
      • evaluatingExpressionLanguageExpressionCausedException

        @LogMessage(level=WARN)
        @Message(id=148,
                 value="An exception occurred during evaluation of EL expression \'%s\'")
        void evaluatingExpressionLanguageExpressionCausedException​(String expression,
                                                                   @Cause
                                                                   Exception e)
      • getExceptionOccurredDuringMessageInterpolationException

        @Message(id=149,
                 value="An exception occurred during message interpolation")
        ValidationException getExceptionOccurredDuringMessageInterpolationException​(@Cause
                                                                                    Exception e)
      • getParameterConfigurationAlteredInSubTypeException

        @Message(id=151,
                 value="A method overriding another method must not redefine the parameter constraint configuration, but method %2$s redefines the configuration of %1$s.")
        ConstraintDeclarationException getParameterConfigurationAlteredInSubTypeException​(Callable superMethod,
                                                                                          Callable subMethod)
      • getParameterConstraintsDefinedInMethodsFromParallelTypesException

        @Message(id=152,
                 value="Two methods defined in parallel types must not declare parameter constraints, if they are overridden by the same method, but methods %s and %s both define parameter constraints.")
        ConstraintDeclarationException getParameterConstraintsDefinedInMethodsFromParallelTypesException​(Callable method1,
                                                                                                         Callable method2)
      • getGenericAndCrossParameterConstraintDoesNotDefineValidationAppliesToParameterException

        @Message(id=156,
                 value="Constraints with generic as well as cross-parameter validators must define an attribute validationAppliesTo(), but constraint %s doesn\'t.")
        ConstraintDefinitionException getGenericAndCrossParameterConstraintDoesNotDefineValidationAppliesToParameterException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                                              Class<? extends Annotation> constraint)
      • getValidationAppliesToParameterMustHaveReturnTypeConstraintTargetException

        @Message(id=157,
                 value="Return type of the attribute validationAppliesTo() of the constraint %s must be jakarta.validation.ConstraintTarget.")
        ConstraintDefinitionException getValidationAppliesToParameterMustHaveReturnTypeConstraintTargetException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                                 Class<? extends Annotation> constraint)
      • getValidationAppliesToParameterMustHaveDefaultValueImplicitException

        @Message(id=158,
                 value="Default value of the attribute validationAppliesTo() of the constraint %s must be ConstraintTarget#IMPLICIT.")
        ConstraintDefinitionException getValidationAppliesToParameterMustHaveDefaultValueImplicitException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                           Class<? extends Annotation> constraint)
      • getValidationAppliesToParameterMustNotBeDefinedForNonGenericAndCrossParameterConstraintException

        @Message(id=159,
                 value="Only constraints with generic as well as cross-parameter validators must define an attribute validationAppliesTo(), but constraint %s does.")
        ConstraintDefinitionException getValidationAppliesToParameterMustNotBeDefinedForNonGenericAndCrossParameterConstraintException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                                                       Class<? extends Annotation> constraint)
      • getValidatorForCrossParameterConstraintMustEitherValidateObjectOrObjectArrayException

        @Message(id=160,
                 value="Validator for cross-parameter constraint %s does not validate Object nor Object[].")
        ConstraintDefinitionException getValidatorForCrossParameterConstraintMustEitherValidateObjectOrObjectArrayException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                                            Class<? extends Annotation> constraint)
      • getMethodsFromParallelTypesMustNotDefineGroupConversionsForCascadedReturnValueException

        @Message(id=161,
                 value="Two methods defined in parallel types must not define group conversions for a cascaded method return value, if they are overridden by the same method, but methods %s and %s both define parameter constraints.")
        ConstraintDeclarationException getMethodsFromParallelTypesMustNotDefineGroupConversionsForCascadedReturnValueException​(Callable method1,
                                                                                                                               Callable method2)
      • getMixingImplicitWithOtherExecutableTypesException

        @Message(id=165,
                 value="Mixing IMPLICIT and other executable types is not allowed.")
        IllegalArgumentException getMixingImplicitWithOtherExecutableTypesException()
      • getValidateOnExecutionOnOverriddenOrInterfaceMethodException

        @Message(id=166,
                 value="@ValidateOnExecution is not allowed on methods overriding a superclass method or implementing an interface. Check configuration for %1$s")
        ValidationException getValidateOnExecutionOnOverriddenOrInterfaceMethodException​(@FormatWith(ExecutableFormatter.class)
                                                                                         Executable executable)
      • getOverridingConstraintDefinitionsInMultipleMappingFilesException

        @Message(id=167,
                 value="A given constraint definition can only be overridden in one mapping file. %1$s is overridden in multiple files")
        ValidationException getOverridingConstraintDefinitionsInMultipleMappingFilesException​(String constraintClassName)
      • getUnbalancedBeginEndParameterException

        @Message(id=168,
                 value="The message descriptor \'%1$s\' contains an unbalanced meta character \'%2$c\'.")
        MessageDescriptorFormatException getUnbalancedBeginEndParameterException​(String messageDescriptor,
                                                                                 char character)
      • getNestedParameterException

        @Message(id=169,
                 value="The message descriptor \'%1$s\' has nested parameters.")
        MessageDescriptorFormatException getNestedParameterException​(String messageDescriptor)
      • getCreationOfScriptExecutorFailedException

        @Message(id=170,
                 value="No JSR-223 scripting engine could be bootstrapped for language \"%s\".")
        ConstraintDeclarationException getCreationOfScriptExecutorFailedException​(String languageName,
                                                                                  @Cause
                                                                                  Exception e)
      • getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException

        @Message(id=171,
                 value="%s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                          Class<?> beanClass)
      • getPropertyHasAlreadyBeConfiguredViaProgrammaticApiException

        @Message(id=172,
                 value="Property \"%2$s\" of type %1$s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getPropertyHasAlreadyBeConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                         Class<?> beanClass,
                                                                                         String propertyName)
      • getMethodHasAlreadyBeenConfiguredViaProgrammaticApiException

        @Message(id=173,
                 value="Method %2$s of type %1$s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getMethodHasAlreadyBeenConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                         Class<?> beanClass,
                                                                                         String method)
      • getParameterHasAlreadyBeConfiguredViaProgrammaticApiException

        @Message(id=174,
                 value="Parameter %3$s of method or constructor %2$s of type %1$s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getParameterHasAlreadyBeConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                          Class<?> beanClass,
                                                                                          Callable callable,
                                                                                          int parameterIndex)
      • getReturnValueHasAlreadyBeConfiguredViaProgrammaticApiException

        @Message(id=175,
                 value="The return value of method or constructor %2$s of type %1$s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getReturnValueHasAlreadyBeConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                            Class<?> beanClass,
                                                                                            Callable callable)
      • getConstructorHasAlreadyBeConfiguredViaProgrammaticApiException

        @Message(id=176,
                 value="Constructor %2$s of type %1$s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getConstructorHasAlreadyBeConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                            Class<?> beanClass,
                                                                                            String constructor)
      • getCrossParameterElementHasAlreadyBeConfiguredViaProgrammaticApiException

        @Message(id=177,
                 value="Cross-parameter constraints for the method or constructor %2$s of type %1$s are declared more than once via the programmatic constraint declaration API.")
        ValidationException getCrossParameterElementHasAlreadyBeConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                      Class<?> beanClass,
                                                                                                      Callable callable)
      • getMultiplierCannotBeNegativeException

        @Message(id=178,
                 value="Multiplier cannot be negative: %d.")
        IllegalArgumentException getMultiplierCannotBeNegativeException​(int multiplier)
      • getWeightCannotBeNegativeException

        @Message(id=179,
                 value="Weight cannot be negative: %d.")
        IllegalArgumentException getWeightCannotBeNegativeException​(int weight)
      • getTreatCheckAsIsNotADigitNorALetterException

        @Message(id=180,
                 value="\'%c\' is not a digit nor a letter.")
        IllegalArgumentException getTreatCheckAsIsNotADigitNorALetterException​(int weight)
      • getInvalidParameterCountForExecutableException

        @Message(id=181,
                 value="Wrong number of parameters. Method or constructor %1$s expects %2$d parameters, but got %3$d.")
        IllegalArgumentException getInvalidParameterCountForExecutableException​(String executable,
                                                                                int expectedParameterCount,
                                                                                int actualParameterCount)
      • getNoUnwrapperFoundForTypeException

        @Message(id=182,
                 value="No validation value unwrapper is registered for type \'%1$s\'.")
        ValidationException getNoUnwrapperFoundForTypeException​(Type type)
      • getUnableToInitializeELExpressionFactoryException

        @Message(id=183,
                 value="Unable to initialize \'jakarta.el.ExpressionFactory\'. Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator instead")
        ValidationException getUnableToInitializeELExpressionFactoryException​(@Cause
                                                                              Throwable e)
      • warnElIsUnsupported

        @LogMessage(level=WARN)
        @Message(id=185,
                 value="Message contains EL expression: %1s, which is not supported by the selected message interpolator")
        void warnElIsUnsupported​(String expression)
      • getInconsistentValueUnwrappingConfigurationBetweenFieldAndItsGetterException

        @Message(id=189,
                 value="The configuration of value unwrapping for property \'%s\' of bean \'%s\' is inconsistent between the field and its getter.")
        ConstraintDeclarationException getInconsistentValueUnwrappingConfigurationBetweenFieldAndItsGetterException​(String property,
                                                                                                                    @FormatWith(ClassObjectFormatter.class)
                                                                                                                    Class<?> beanClass)
      • getUnableToCreateXMLEventReader

        @Message(id=190,
                 value="Unable to parse %s.")
        ValidationException getUnableToCreateXMLEventReader​(String file,
                                                            @Cause
                                                            Exception e)
      • unknownJvmVersion

        @LogMessage(level=WARN)
        @Message(id=192,
                 value="Couldn\'t determine Java version from value %1s; Not enabling features requiring Java 8")
        void unknownJvmVersion​(String vmVersionStr)
      • getConstraintHasAlreadyBeenConfiguredViaProgrammaticApiException

        @Message(id=193,
                 value="%s is configured more than once via the programmatic constraint definition API.")
        ValidationException getConstraintHasAlreadyBeenConfiguredViaProgrammaticApiException​(@FormatWith(ClassObjectFormatter.class)
                                                                                             Class<? extends Annotation> annotationClass)
      • getEmptyElementOnlySupportedWhenCharSequenceIsExpectedExpection

        @Message(id=194,
                 value="An empty element is only supported when a CharSequence is expected.")
        ValidationException getEmptyElementOnlySupportedWhenCharSequenceIsExpectedExpection()
      • getUnableToReachPropertyToValidateException

        @Message(id=195,
                 value="Unable to reach the property to validate for the bean %s and the property path %s. A property is null along the way.")
        ValidationException getUnableToReachPropertyToValidateException​(Object bean,
                                                                        Path path)
      • getUnableToConvertTypeToClassException

        @Message(id=196,
                 value="Unable to convert the Type %s to a Class.")
        ValidationException getUnableToConvertTypeToClassException​(Type type)
      • getNoValueExtractorFoundForUnwrapException

        @Message(id=198,
                 value="No suitable value extractor found for type %1$s.")
        ConstraintDeclarationException getNoValueExtractorFoundForUnwrapException​(Type type)
      • getUnableToInstantiateClockProviderClassException

        @Message(id=201,
                 value="Unable to instantiate clock provider class %s.")
        ValidationException getUnableToInstantiateClockProviderClassException​(String clockProviderClassName,
                                                                              @Cause
                                                                              ValidationException e)
      • getUnableToGetCurrentTimeFromClockProvider

        @Message(id=202,
                 value="Unable to get the current time from the clock provider")
        ValidationException getUnableToGetCurrentTimeFromClockProvider​(@Cause
                                                                       Exception e)
      • getValueExtractorFailsToDeclareExtractedValueException

        @Message(id=203,
                 value="Value extractor type %1s fails to declare the extracted type parameter using @ExtractedValue.")
        ValueExtractorDefinitionException getValueExtractorFailsToDeclareExtractedValueException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                 Class<?> extractorType)
      • getValueExtractorDeclaresExtractedValueMultipleTimesException

        @Message(id=204,
                 value="Only one type parameter must be marked with @ExtractedValue for value extractor type %1s.")
        ValueExtractorDefinitionException getValueExtractorDeclaresExtractedValueMultipleTimesException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                        Class<?> extractorType)
      • getInvalidUnwrappingConfigurationForConstraintException

        @Message(id=205,
                 value="Invalid unwrapping configuration for constraint %2$s on %1$s. You can only define one of \'Unwrapping.Skip\' or \'Unwrapping.Unwrap\'.")
        ConstraintDeclarationException getInvalidUnwrappingConfigurationForConstraintException​(Constrainable constrainable,
                                                                                               @FormatWith(ClassObjectFormatter.class)
                                                                                               Class<? extends Annotation> constraint)
      • getUnableToInstantiateValueExtractorClassException

        @Message(id=206,
                 value="Unable to instantiate value extractor class %s.")
        ValidationException getUnableToInstantiateValueExtractorClassException​(String valueExtractorClassName,
                                                                               @Cause
                                                                               ValidationException e)
      • getValueExtractorForTypeAndTypeUseAlreadyPresentException

        @Message(id=208,
                 value="Given value extractor %2$s handles the same type and type use as previously given value extractor %1$s.")
        ValueExtractorDeclarationException getValueExtractorForTypeAndTypeUseAlreadyPresentException​(ValueExtractor<?> first,
                                                                                                     ValueExtractor<?> second)
      • getTypeIsNotAParameterizedNorArrayTypeException

        @Message(id=211,
                 value="Given type is neither a parameterized nor an array type: %s.")
        ValidationException getTypeIsNotAParameterizedNorArrayTypeException​(@FormatWith(TypeFormatter.class)
                                                                            Type type)
      • getInvalidTypeArgumentIndexException

        @Message(id=212,
                 value="Given type has no type argument with index %2$s: %1$s.")
        ValidationException getInvalidTypeArgumentIndexException​(@FormatWith(TypeFormatter.class)
                                                                 Type type,
                                                                 int index)
      • getNoTypeArgumentIndexIsGivenForTypeWithMultipleTypeArgumentsException

        @Message(id=213,
                 value="Given type has more than one type argument, hence an argument index must be specified: %s.")
        ValidationException getNoTypeArgumentIndexIsGivenForTypeWithMultipleTypeArgumentsException​(@FormatWith(TypeFormatter.class)
                                                                                                   Type type)
      • getContainerElementTypeHasAlreadyBeenConfiguredViaProgrammaticApiException

        @Message(id=214,
                 value="The same container element type of type %1$s is configured more than once via the programmatic constraint declaration API.")
        ValidationException getContainerElementTypeHasAlreadyBeenConfiguredViaProgrammaticApiException​(@FormatWith(TypeFormatter.class)
                                                                                                       Type type)
      • getParameterIsNotAValidCallException

        @Message(id=215,
                 value="Calling parameter() is not allowed for the current element.")
        ValidationException getParameterIsNotAValidCallException()
      • getReturnValueIsNotAValidCallException

        @Message(id=216,
                 value="Calling returnValue() is not allowed for the current element.")
        ValidationException getReturnValueIsNotAValidCallException()
      • getContainerElementTypeHasAlreadyBeenConfiguredViaXmlMappingConfigurationException

        @Message(id=217,
                 value="The same container element type %2$s is configured more than once for location %1$s via the XML mapping configuration.")
        ValidationException getContainerElementTypeHasAlreadyBeenConfiguredViaXmlMappingConfigurationException​(ConstraintLocation rootConstraintLocation,
                                                                                                               ContainerElementTypePath path)
      • getParallelDefinitionsOfValueExtractorsException

        @Message(id=218,
                 value="Having parallel definitions of value extractors on a given class is not allowed: %s.")
        ValueExtractorDefinitionException getParallelDefinitionsOfValueExtractorsException​(@FormatWith(ClassObjectFormatter.class)
                                                                                           Class<?> extractorImplementationType)
      • getExtractedValueOnTypeParameterOfContainerTypeMayNotDefineTypeAttributeException

        @Message(id=220,
                 value="When @ExtractedValue is defined on a type parameter of a container type, the type attribute may not be set: %1$s.")
        ValueExtractorDefinitionException getExtractedValueOnTypeParameterOfContainerTypeMayNotDefineTypeAttributeException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                                            Class<? extends ValueExtractor> extractorImplementationType)
      • getDuplicateDefinitionsOfValueExtractorException

        @Message(id=222,
                 value="The same value extractor %s is added more than once via the XML configuration.")
        ValueExtractorDeclarationException getDuplicateDefinitionsOfValueExtractorException​(String className)
      • getUnwrappingOfConstraintDescriptorNotSupportedYetException

        @Message(id=224,
                 value="Unwrapping of ConstraintDescriptor is not supported yet.")
        ValidationException getUnwrappingOfConstraintDescriptorNotSupportedYetException()
      • getOnlyUnboundWildcardTypeArgumentsSupportedForContainerTypeOfValueExtractorException

        @Message(id=225,
                 value="Only unbound wildcard type arguments are supported for the container type of the value extractor: %1$s.")
        ValueExtractorDefinitionException getOnlyUnboundWildcardTypeArgumentsSupportedForContainerTypeOfValueExtractorException​(@FormatWith(ClassObjectFormatter.class)
                                                                                                                                Class<? extends ValueExtractor> valueExtractorClass)
      • getContainerElementConstraintsAndCascadedValidationNotSupportedOnArraysException

        @Message(id=226,
                 value="Container element constraints and cascading validation are not supported on arrays: %1$s")
        ValidationException getContainerElementConstraintsAndCascadedValidationNotSupportedOnArraysException​(@FormatWith(TypeFormatter.class)
                                                                                                             Type type)
      • getUnableToInstantiateScriptEvaluatorFactoryClassException

        @Message(id=231,
                 value="Unable to instantiate script evaluator factory class %s.")
        ValidationException getUnableToInstantiateScriptEvaluatorFactoryClassException​(String scriptEvaluatorFactoryClassName,
                                                                                       @Cause
                                                                                       Exception e)
      • getUnableToFindScriptEngineException

        @Message(id=232,
                 value="No JSR 223 script engine found for language \"%s\".")
        ScriptEvaluatorNotFoundException getUnableToFindScriptEngineException​(String languageName)
      • getErrorExecutingScriptException

        @Message(id=233,
                 value="An error occurred while executing the script: \"%s\".")
        ScriptEvaluationException getErrorExecutingScriptException​(String script,
                                                                   @Cause
                                                                   Exception e)
      • logValidatorFactoryScopedConfiguration

        @LogMessage(level=DEBUG)
        @Message(id=234,
                 value="Using %1$s as ValidatorFactory-scoped %2$s.")
        void logValidatorFactoryScopedConfiguration​(@FormatWith(ClassObjectFormatter.class)
                                                    Class<?> configuredClass,
                                                    String configuredElement)
      • getUnableToFindAnnotationDefDeclaredMethods

        @Message(id=236,
                 value="Unable to find the method required to create the constraint annotation descriptor.")
        ValidationException getUnableToFindAnnotationDefDeclaredMethods​(@Cause
                                                                        Exception e)
      • logTemporalValidationTolerance

        @LogMessage(level=DEBUG)
        @Message(id=238,
                 value="Temporal validation tolerance set to %1$s.")
        void logTemporalValidationTolerance​(@FormatWith(DurationFormatter.class)
                                            Duration tolerance)
      • getUnableToParseTemporalValidationToleranceException

        @Message(id=239,
                 value="Unable to parse the temporal validation tolerance property %s. It should be a duration represented in milliseconds.")
        ValidationException getUnableToParseTemporalValidationToleranceException​(String toleranceProperty,
                                                                                 @Cause
                                                                                 Exception e)
      • logConstraintValidatorPayload

        @LogMessage(level=DEBUG)
        @Message(id=240,
                 value="Constraint validator payload set to %1$s.")
        void logConstraintValidatorPayload​(Object payload)
      • logUnknownElementInXmlConfiguration

        @Message(id=241,
                 value="Encountered unsupported element %1$s while parsing the XML configuration.")
        ValidationException logUnknownElementInXmlConfiguration​(String tag)
      • logUnableToLoadOrInstantiateJPAAwareResolver

        @LogMessage(level=WARN)
        @Message(id=242,
                 value="Unable to load or instantiate JPA aware resolver %1$s. All properties will per default be traversable.")
        void logUnableToLoadOrInstantiateJPAAwareResolver​(String traversableResolverClassName)
      • getUnableToInstantiateGetterPropertySelectionStrategyClassException

        @Message(id=247,
                 value="Unable to instantiate getter property selection strategy class %s.")
        ValidationException getUnableToInstantiateGetterPropertySelectionStrategyClassException​(String getterPropertySelectionStrategyClassName,
                                                                                                @Cause
                                                                                                Exception e)
      • unableToGetXmlSchema

        @Message(id=248,
                 value="Unable to get an XML schema named %s.")
        ValidationException unableToGetXmlSchema​(String schemaResourceName)
      • uninitializedLocale

        @Message(id=250,
                 value="Uninitialized locale: %s. Please register your locale as a locale to initialize when initializing your ValidatorFactory.")
        ValidationException uninitializedLocale​(Locale locale)
      • unableToLoadInstanceOfService

        @LogMessage(level=ERROR)
        @Message(id=251,
                 value="An error occurred while loading an instance of service %s.")
        void unableToLoadInstanceOfService​(String serviceName,
                                           @Cause
                                           ServiceConfigurationError e)
      • getUnableToInstantiatePropertyNodeNameProviderClassException

        @Message(id=253,
                 value="Unable to instantiate property node name provider class %s.")
        ValidationException getUnableToInstantiatePropertyNodeNameProviderClassException​(String propertyNodeNameProviderClassName,
                                                                                         @Cause
                                                                                         Exception e)
      • missingParameterMetadataWithSyntheticOrImplicitParameters

        @LogMessage(level=WARN)
        @Message(id=254,
                 value="Missing parameter metadata for %s, which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the \'-parameters\' flag.")
        void missingParameterMetadataWithSyntheticOrImplicitParameters​(@FormatWith(ExecutableFormatter.class)
                                                                       Executable executable)
      • getUnableToInstantiateLocaleResolverClassException

        @Message(id=256,
                 value="Unable to instantiate locale resolver class %s.")
        ValidationException getUnableToInstantiateLocaleResolverClassException​(String localeResolverClassName,
                                                                               @Cause
                                                                               Exception e)
      • expressionVariablesDefinedWithExpressionLanguageNotEnabled

        @LogMessage(level=WARN)
        @Message(id=257,
                 value="Expression variables have been defined for constraint %1$s while Expression Language is not enabled.")
        void expressionVariablesDefinedWithExpressionLanguageNotEnabled​(Class<? extends Annotation> constraintAnnotation)
      • expressionsNotResolvedWhenExpressionLanguageFeaturesDisabled

        @Message(id=258,
                 value="Expressions should not be resolved when Expression Language features are disabled.")
        IllegalStateException expressionsNotResolvedWhenExpressionLanguageFeaturesDisabled()
      • expressionsLanguageFeatureLevelNotSupported

        @Message(id=259,
                 value="Provided Expression Language feature level is not supported.")
        IllegalStateException expressionsLanguageFeatureLevelNotSupported()
      • logConstraintExpressionLanguageFeatureLevel

        @LogMessage(level=DEBUG)
        @Message(id=260,
                 value="Expression Language feature level for constraints set to %1$s.")
        void logConstraintExpressionLanguageFeatureLevel​(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel)
      • logCustomViolationExpressionLanguageFeatureLevel

        @LogMessage(level=DEBUG)
        @Message(id=261,
                 value="Expression Language feature level for custom violations set to %1$s.")
        void logCustomViolationExpressionLanguageFeatureLevel​(ExpressionLanguageFeatureLevel expressionLanguageFeatureLevel)
      • invalidExpressionLanguageFeatureLevelValue

        @Message(id=262,
                 value="Unable to find an expression language feature level for value %s.")
        ValidationException invalidExpressionLanguageFeatureLevelValue​(String expressionLanguageFeatureLevelName,
                                                                       @Cause
                                                                       IllegalArgumentException e)
      • unknownMethodInExpressionLanguage

        @LogMessage(level=WARN)
        @Message(id=263,
                 value="EL expression \'%s\' references an unknown method.")
        void unknownMethodInExpressionLanguage​(String expression,
                                               @Cause
                                               Exception e)
      • disabledFeatureInExpressionLanguage

        @LogMessage(level=ERROR)
        @Message(id=264,
                 value="Unable to interpolate EL expression \'%s\' as it uses a disabled feature.")
        void disabledFeatureInExpressionLanguage​(String expression,
                                                 @Cause
                                                 Exception e)
      • getInconsistentShowValidatedValuesInTraceLogsViolationConfigurationException

        @Message(id=265,
                 value="Inconsistent show validation value in trace logs configuration. It is enabled via programmatic API, but explicitly disabled via properties.")
        ValidationException getInconsistentShowValidatedValuesInTraceLogsViolationConfigurationException()