org.hibernate.validator.internal.util.logging
Interface Log

All Superinterfaces:
org.jboss.logging.BasicLogger
All Known Implementing Classes:
Log_$logger

@MessageLogger(projectCode="HV")
public interface Log
extends org.jboss.logging.BasicLogger

The logger interface for JBoss Logging.

Author:
Kevin Pollet (C) 2012 SERLI

Method Summary
 IllegalStateException beanManagerIsNotAvailable()
           
 void errorInExpressionLanguage(String expression, Exception e)
           
 ValidationException getAnnotationDoesNotContainAParameterException(String annotationClassName, String parameterName)
           
 ConstraintDefinitionException getAnnotationIsNoConstraintTypeException(Class<? extends Annotation> annotationType)
           
 ValidationException getAtLeastOneCustomMessageMustBeCreatedException()
           
 IllegalArgumentException getAtLeastOneGroupHasToBeSpecifiedException()
           
 ValidationException getAttemptToSpecifyAnArrayWhereSingleValueIsExpectedException()
           
 ValidationException getBeanClassHasAlreadyBeConfiguredInXmlException(String beanClassName)
           
 GroupDefinitionException getBeanClassMustBePartOfRedefinedDefaultGroupSequenceException(String beanClassName)
           
 ValidationException getBeanDoesNotContainConstructorException(String beanClassName, List<Class<?>> parameterTypes)
           
 ValidationException getBeanDoesNotContainMethodException(String beanClassName, String methodName, List<Class<?>> parameterTypes)
           
 ValidationException getBeanDoesNotContainTheFieldException(String beanClassName, String fieldName)
           
 ValidationException getBeanDoesNotContainThePropertyException(String beanClassName, String getterName)
           
 NumberFormatException getCharacterIsNotADigitException(char c)
           
 ValidationException getConstraintFactoryMustNotReturnNullException(String validatorClassName)
           
 ConstraintDefinitionException getConstraintParametersCannotStartWithValidException()
           
 ConstraintDefinitionException getConstraintWithoutMandatoryParameterException(String parameterName, String constraintName)
           
 ValidationException getConstructorIsDefinedTwiceInMappingXmlForBeanException(String name, String beanClassName)
           
 ConstraintDeclarationException getCrossParameterConstraintOnClassException(String constraint)
           
 ConstraintDeclarationException getCrossParameterConstraintOnFieldException(String constraint, String field)
           
 ConstraintDeclarationException getCrossParameterConstraintOnMethodWithoutParametersException(String constraint, String member)
           
 GroupDefinitionException getCyclicDependencyInGroupsDefinitionException()
           
 IllegalArgumentException getElementTypeHasToBeFieldOrMethodException()
           
 IllegalArgumentException getEndIndexCannotBeNegativeException(int endIndex)
           
 ValidationException getErrorDuringCallOfTraversableResolverIsCascadableException(RuntimeException e)
           
 ValidationException getErrorDuringCallOfTraversableResolverIsReachableException(RuntimeException e)
           
 ConstraintDeclarationException getErrorDuringScriptExecutionException(String script, Exception e)
           
 ValidationException getErrorParsingMappingFileException(JAXBException e)
           
 ValidationException getExceptionDuringIsValidCall(RuntimeException e)
           
 ConstraintDefinitionException getGenericAndCrossParameterValidatorWithoutConstraintTargetException(String constraint)
           
 ConstraintDeclarationException getGroupConversionForSequenceException(Class<?> from)
           
 ConstraintDeclarationException getGroupConversionOnNonCascadingElementException(ConstraintLocation location)
           
 ValidationException getGroupHasToBeAnInterfaceException(String className)
           
 IllegalArgumentException getHasToBeAPrimitiveTypeException(Class<?> clazz)
           
 IllegalArgumentException getIllegalArgumentException(String message)
           
 ConstraintDeclarationException getImplicitConstraintTargetInAmbiguousConfigurationException(String constraint)
           
 ValidationException getInconsistentConfigurationException()
           
 ValidationException getInconsistentFailFastConfigurationException()
           
 IllegalArgumentException getInvalidBigDecimalFormatException(String value, NumberFormatException e)
           
 ValidationException getInvalidCharValueException(String value)
           
 IllegalArgumentException getInvalidCheckDigitException(int startIndex, int endIndex)
           
 GroupDefinitionException getInvalidDefaultGroupSequenceDefinitionException()
           
 IndexOutOfBoundsException getInvalidIndexException(String lowerBound, String upperBound)
           
 IllegalArgumentException getInvalidJavaIdentifierException(String identifier)
           
 IllegalArgumentException getInvalidLengthForFractionPartException()
           
 IllegalArgumentException getInvalidLengthForIntegerPartException()
           
 IllegalArgumentException getInvalidLengthOfParameterMetaDataListException(ExecutableElement executableElement, int nbParameters, int listSize)
           
 IllegalArgumentException getInvalidMethodParameterIndexException(String methodName)
           
 IllegalArgumentException getInvalidMethodParameterIndexException(String method, int index)
           
 ValidationException getInvalidNumberFormatException(String formatName, NumberFormatException e)
           
 ValidationException getInvalidParameterTypeException(String type, String beanClassName)
           
 IllegalArgumentException getInvalidPropertyPathException()
           
 IllegalArgumentException getInvalidPropertyPathException(String propertyName, String beanClassName)
           
 ValidationException getInvalidPropertyValue(String propertyName, String propertyValue, Exception e)
           
 IllegalArgumentException getInvalidRangeException(int startIndex, int endIndex)
           
 IllegalArgumentException getInvalidRegularExpressionException(PatternSyntaxException e)
           
 ValidationException getInvalidReturnTypeException(Class<?> returnType, ClassCastException e)
           
 ValidationException getIsDefinedTwiceInMappingXmlForBeanException(String name, String beanClassName)
           
 ValidationException getIsNotAConstraintValidatorClassException(Class<?> validatorClass)
           
 ValidationException getIsNotAnAnnotationException(String annotationClassName)
           
 IllegalArgumentException getLengthCannotBeNegativeException()
           
 IllegalArgumentException getMaxCannotBeNegativeException()
           
 IllegalArgumentException getMemberIsNeitherAFieldNorAMethodException(Member member)
           
 ValidationException getMethodIsDefinedTwiceInMappingXmlForBeanException(String name, String beanClassName)
           
 IllegalArgumentException getMinCannotBeNegativeException()
           
 IllegalArgumentException getMissingActualTypeArgumentForTypeParameterException(TypeVariable<?> typeParameter)
           
 ValidationException getMissingFormatStringInTemplateException(String expression)
           
 UnexpectedTypeException getMoreThanOneValidatorFoundForTypeException(Type type, String validatorClasses)
           
 ConstraintDefinitionException getMultipleCrossParameterValidatorClassesException(String constraint)
           
 GroupDefinitionException getMultipleDefinitionOfDefaultGroupSequenceException()
           
 GroupDefinitionException getMultipleDefinitionOfDefaultGroupSequenceProviderException()
           
 ConstraintDeclarationException getMultipleGroupConversionsForSameSourceException(Class<?> from, Set<Class<?>> tos)
           
 GroupDefinitionException getNoDefaultGroupInGroupSequenceException()
           
 UnexpectedTypeException getNoValidatorFoundForTypeException(String className)
           
 IllegalArgumentException getNoValueProvidedForAnnotationParameterException(String parameterName, String annotation)
           
 ValidationException getNullIsAnInvalidTypeForAConstraintValidatorException()
           
 ConstraintDefinitionException getOverriddenConstraintAttributeNotFoundException(String attributeName)
           
 IllegalStateException getParameterNodeAddedForNonCrossParameterConstraintException(Path path)
           
 IllegalArgumentException getPropertyNameCannotBeNullOrEmptyException()
           
 IllegalArgumentException getPropertyPathMustProvideIndexOrMapKeyException()
           
 ValidationException getReservedParameterNamesException(String messageParameterName, String groupsParameterName, String payloadParameterName)
           
 ConstraintDeclarationException getScriptMustReturnTrueOrFalseException(String script)
           
 ConstraintDeclarationException getScriptMustReturnTrueOrFalseException(String script, Object executionResult, String type)
           
 GroupDefinitionException getSequenceDefinitionsNotAllowedException()
           
 IllegalArgumentException getStartIndexCannotBeNegativeException(int startIndex)
           
 RuntimeException getTryingToInstantiateAnnotationWithUnknownParametersException(Class<?> annotationType, Set<String> unknownParameters)
           
 ValidationException getTypeNotSupportedForUnwrappingException(Class<?> type)
           
 ValidationException getUnableToAccessMemberException(String memberName, Exception e)
           
 ValidationException getUnableToCreateAnnotationForConfiguredConstraintException(RuntimeException e)
           
 ConstraintDefinitionException getUnableToDetermineConstraintType(String constraint)
           
 ValidationException getUnableToDetermineSchemaVersionException(String file, XMLStreamException e)
           
 GroupDefinitionException getUnableToExpandDefaultGroupListException(List<?> defaultGroupList, List<?> groupList)
           
 GroupDefinitionException getUnableToExpandGroupSequenceException()
           
 ValidationException getUnableToFindAnnotationConstraintsException(Class<? extends Annotation> annotationClass)
           
 ValidationException getUnableToFindAnnotationParameterException(String parameterName, NoSuchMethodException e)
           
 IllegalArgumentException getUnableToFindMethodException(Class<?> beanClass, String name, String parametersType)
           
 ValidationException getUnableToFindPropertyWithAccessException(Class<?> beanClass, String property, ElementType elementType)
           
 ValidationException getUnableToFindProviderException(Class<?> providerClass)
           
 ValidationException getUnableToGetAnnotationParameterException(String parameterName, String annotationName, Exception e)
           
 ValidationException getUnableToInitializeConstraintValidatorException(String validatorClassName, RuntimeException e)
           
 ValidationException getUnableToInstantiateBeanValidationProviderException(List<String> providerName, Exception e)
           
 ValidationException getUnableToInstantiateConstraintFactoryClassException(String constraintFactoryClassName, ValidationException e)
           
 ValidationException getUnableToInstantiateException(Class<?> clazz, Exception e)
           
 ValidationException getUnableToInstantiateException(String message, Class<?> clazz, Exception e)
           
 ValidationException getUnableToInstantiateException(String className, Exception e)
           
 ValidationException getUnableToInstantiateMessageInterpolatorClassException(String messageInterpolatorClassName, Exception e)
           
 ValidationException getUnableToInstantiateParameterNameProviderClassException(String parameterNameProviderClassName, ValidationException e)
           
 ValidationException getUnableToInstantiateTraversableResolverClassException(String traversableResolverClassName, Exception e)
           
 ValidationException getUnableToInstantiateValidationProviderClassException(String providerClassName, Exception e)
           
 ValidationException getUnableToLoadClassException(String className)
           
 ValidationException getUnableToLoadClassException(String className, Exception e)
           
 ValidationException getUnableToOpenInputStreamForMappingFileException(String mappingFileName)
           
 IllegalArgumentException getUnableToParsePropertyPathException(String propertyPath)
           
 ValidationException getUnableToParseValidationXmlFileException(String file, JAXBException e)
           
 ValidationException getUnableToReadAnnotationAttributesException(Class<? extends Annotation> annotationClass, Exception e)
           
 ValidationException getUnableToReadServicesFileException(String servicesFileName, Exception e)
           
 ValidationException getUnableToResetXmlInputStreamException(String file, IOException e)
           
 ValidationException getUnableToRetrieveAnnotationParameterValueException(Exception e)
           
 ValidationException getUnexpectedParameterValueException()
           
 ValidationException getUnexpectedParameterValueException(ClassCastException e)
           
 ValidationException getUnsupportedSchemaVersionException(String file, String version)
           
 ConstraintDefinitionException getWrongAttributeTypeForOverriddenConstraintException(String expectedReturnType, Class<?> currentReturnType)
           
 GroupDefinitionException getWrongDefaultGroupSequenceProviderTypeException(String beanClassName)
           
 ConstraintDefinitionException getWrongDefaultValueForGroupsParameterException(String constraintName)
           
 ConstraintDefinitionException getWrongDefaultValueForPayloadParameterException(String constraintName)
           
 ValidationException getWrongParameterTypeException(String expectedType, String currentType)
           
 ValidationException getWrongPayloadClassException(String payloadClassName)
           
 ConstraintDefinitionException getWrongTypeForGroupsParameterException(String constraintName, ClassCastException e)
           
 ConstraintDefinitionException getWrongTypeForMessageParameterException(String constraintName)
           
 ConstraintDefinitionException getWrongTypeForPayloadParameterException(String constraintName, ClassCastException e)
           
 void ignoringXmlConfiguration()
           
 ConstraintDeclarationException methodReturnValueMustNotBeMarkedMoreThanOnceForCascadedValidation(Member member1, Member member2)
           
 void parsingXMLFile(String fileName)
           
 ValidationException throwInvalidFormat(String message, IllegalFormatException e)
           
 void unableToCloseInputStream()
           
 void unableToCloseXMLFileInputStream(String fileName)
           
 void unableToCreateSchema(String fileName, String message)
           
 ValidationException unableToLoadConstraintAnnotationClassException(String constraintAnnotationClass, Exception e)
           
 void unableToLoadProviderClass(String providerName)
           
 ClassCastException unableToNarrowNodeType(String actualDescriptorType, String expectedDescriptorType)
           
 void unknownPropertyInExpressionLanguage(String expression, Exception e)
           
 void usingConstraintFactory(String constraintFactoryClassName)
           
 void usingMessageInterpolator(String messageInterpolatorClassName)
           
 void usingParameterNameProvider(String parameterNameProviderClassName)
           
 void usingTraversableResolver(String traversableResolverClassName)
           
 void usingValidationProvider(String validationProviderClassName)
           
 void version(String version)
           
 ConstraintDeclarationException voidMethodsMustNotBeConstrained(Member member)
           
 
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
 

Method Detail

version

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

ignoringXmlConfiguration

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

usingConstraintFactory

@LogMessage(level=INFO)
@Message(id=3,
         value="Using %s as constraint factory.")
void usingConstraintFactory(String constraintFactoryClassName)

usingMessageInterpolator

@LogMessage(level=INFO)
@Message(id=4,
         value="Using %s as message interpolator.")
void usingMessageInterpolator(String messageInterpolatorClassName)

usingTraversableResolver

@LogMessage(level=INFO)
@Message(id=5,
         value="Using %s as traversable resolver.")
void usingTraversableResolver(String traversableResolverClassName)

usingValidationProvider

@LogMessage(level=INFO)
@Message(id=6,
         value="Using %s as validation provider.")
void usingValidationProvider(String validationProviderClassName)

parsingXMLFile

@LogMessage(level=INFO)
@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()

unableToLoadProviderClass

@LogMessage(level=WARN)
@Message(id=9,
         value="Unable to load provider class %s.")
void unableToLoadProviderClass(String providerName)

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)

getUnableToFindPropertyWithAccessException

@Message(id=13,
         value="The class %1$s does not have a property \'%2$s\' with access %3$s.")
ValidationException getUnableToFindPropertyWithAccessException(Class<?> beanClass,
                                                                       String property,
                                                                       ElementType elementType)

getUnableToFindMethodException

@Message(id=14,
         value="Type %1$s doesn\'t have a method %2$s(%3$s).")
IllegalArgumentException getUnableToFindMethodException(Class<?> beanClass,
                                                                String name,
                                                                String parametersType)

getInvalidMethodParameterIndexException

@Message(id=15,
         value="A valid parameter index has to be specified for method \'%s\'")
IllegalArgumentException getInvalidMethodParameterIndexException(String methodName)

getInvalidBigDecimalFormatException

@Message(id=16,
         value="%s does not represent a valid BigDecimal format.")
IllegalArgumentException getInvalidBigDecimalFormatException(String value,
                                                                     @Cause
                                                                     NumberFormatException 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()

getInvalidRegularExpressionException

@Message(id=22,
         value="Invalid regular expression.")
IllegalArgumentException getInvalidRegularExpressionException(@Cause
                                                                      PatternSyntaxException e)

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()

getUnableToFindProviderException

@Message(id=27,
         value="Unable to find provider: %s.")
ValidationException getUnableToFindProviderException(Class<?> providerClass)

getExceptionDuringIsValidCall

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

getConstraintFactoryMustNotReturnNullException

@Message(id=29,
         value="Constraint factory returned null when trying to create instance of %s.")
ValidationException getConstraintFactoryMustNotReturnNullException(String validatorClassName)

getNoValidatorFoundForTypeException

@Message(id=30,
         value="No validator could be found for type: %s.")
UnexpectedTypeException getNoValidatorFoundForTypeException(String className)

getMoreThanOneValidatorFoundForTypeException

@Message(id=31,
         value="There are multiple validator classes which could validate the type %1$s. The validator classes are: %2$s.")
UnexpectedTypeException getMoreThanOneValidatorFoundForTypeException(Type type,
                                                                             String validatorClasses)

getUnableToInitializeConstraintValidatorException

@Message(id=32,
         value="Unable to initialize %s.")
ValidationException getUnableToInitializeConstraintValidatorException(String validatorClassName,
                                                                              @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)

getTypeNotSupportedForUnwrappingException

@Message(id=36,
         value="Type %s not supported for unwrapping.")
ValidationException getTypeNotSupportedForUnwrappingException(Class<?> type)

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. There is no property %1$s in entity %2$s.")
IllegalArgumentException getInvalidPropertyPathException(String propertyName,
                                                                 String beanClassName)

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)

getUnableToExpandDefaultGroupListException

@Message(id=43,
         value="Unable to expand default group list %1$s into sequence %2$s.")
GroupDefinitionException getUnableToExpandDefaultGroupListException(List<?> defaultGroupList,
                                                                            List<?> groupList)

getAtLeastOneGroupHasToBeSpecifiedException

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

getGroupHasToBeAnInterfaceException

@Message(id=45,
         value="A group has to be an interface. %s is not.")
ValidationException getGroupHasToBeAnInterfaceException(String className)

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()

getInvalidIndexException

@Message(id=49,
         value="The given index must be between %1$s and %2$s.")
IndexOutOfBoundsException getInvalidIndexException(String lowerBound,
                                                           String upperBound)

getMissingFormatStringInTemplateException

@Message(id=50,
         value="Missing format string in template: %s.")
ValidationException getMissingFormatStringInTemplateException(String expression)

throwInvalidFormat

@Message(id=51,
         value="Invalid format: %s.")
ValidationException throwInvalidFormat(String message,
                                               @Cause
                                               IllegalFormatException e)

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(String beanClassName)

getWrongDefaultGroupSequenceProviderTypeException

@Message(id=55,
         value="The default group sequence provider defined for %s has the wrong type")
GroupDefinitionException getWrongDefaultGroupSequenceProviderTypeException(String beanClassName)

getInvalidMethodParameterIndexException

@Message(id=56,
         value="Method %1$s doesn\'t have a parameter with index %2$d.")
IllegalArgumentException getInvalidMethodParameterIndexException(String method,
                                                                         int index)

getUnableToFindAnnotationConstraintsException

@Message(id=57,
         value="Unable to find constraints for  %s.")
ValidationException getUnableToFindAnnotationConstraintsException(Class<? extends Annotation> annotationClass)

getUnableToReadAnnotationAttributesException

@Message(id=58,
         value="Unable to read annotation attributes: %s.")
ValidationException getUnableToReadAnnotationAttributesException(Class<? extends Annotation> annotationClass,
                                                                         @Cause
                                                                         Exception e)

getUnableToRetrieveAnnotationParameterValueException

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

getMultipleDefinitionOfDefaultGroupSequenceProviderException

@Message(id=60,
         value="Multiple definitions of default group sequence provider.")
GroupDefinitionException getMultipleDefinitionOfDefaultGroupSequenceProviderException()

getMultipleDefinitionOfDefaultGroupSequenceException

@Message(id=61,
         value="Multiple definitions of default group sequence.")
GroupDefinitionException getMultipleDefinitionOfDefaultGroupSequenceException()

getInvalidLengthOfParameterMetaDataListException

@Message(id=62,
         value="Method %1$s has %2$s parameters, but the passed list of parameter meta data has a size of %3$s.")
IllegalArgumentException getInvalidLengthOfParameterMetaDataListException(ExecutableElement executableElement,
                                                                                  int nbParameters,
                                                                                  int listSize)

getUnableToInstantiateException

@Message(id=63,
         value="Unable to instantiate %s.")
ValidationException getUnableToInstantiateException(String className,
                                                            @Cause
                                                            Exception e)

getUnableToInstantiateException

ValidationException getUnableToInstantiateException(Class<?> clazz,
                                                    @Cause
                                                    Exception e)

getUnableToInstantiateException

@Message(id=64,
         value="Unable to instantiate %1$s: %2$s.")
ValidationException getUnableToInstantiateException(String message,
                                                            Class<?> clazz,
                                                            @Cause
                                                            Exception e)

getUnableToLoadClassException

@Message(id=65,
         value="Unable to load class: %s.")
ValidationException getUnableToLoadClassException(String className)

getUnableToLoadClassException

ValidationException getUnableToLoadClassException(String className,
                                                  @Cause
                                                  Exception e)

getUnableToInstantiateBeanValidationProviderException

@Message(id=66,
         value="Unable to instantiate Bean Validation provider %s.")
ValidationException getUnableToInstantiateBeanValidationProviderException(List<String> providerName,
                                                                                  @Cause
                                                                                  Exception e)

getUnableToReadServicesFileException

@Message(id=67,
         value="Unable to read %s.")
ValidationException getUnableToReadServicesFileException(String servicesFileName,
                                                                 @Cause
                                                                 Exception e)

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)

getWrongAttributeTypeForOverriddenConstraintException

@Message(id=81,
         value="The overriding type of a composite constraint must be identical to the overridden one. Expected %1$s found %2$s.")
ConstraintDefinitionException getWrongAttributeTypeForOverriddenConstraintException(String expectedReturnType,
                                                                                            Class<?> currentReturnType)

getWrongParameterTypeException

@Message(id=82,
         value="Wrong parameter type. Expected: %1$s Actual: %2$s.")
ValidationException getWrongParameterTypeException(String expectedType,
                                                           String currentType)

getUnableToFindAnnotationParameterException

@Message(id=83,
         value="The specified annotation defines no parameter \'%s\'.")
ValidationException getUnableToFindAnnotationParameterException(String parameterName,
                                                                        @Cause
                                                                        NoSuchMethodException e)

getUnableToGetAnnotationParameterException

@Message(id=84,
         value="Unable to get \'%1$s\' from %2$s.")
ValidationException getUnableToGetAnnotationParameterException(String parameterName,
                                                                       String annotationName,
                                                                       @Cause
                                                                       Exception e)

getNoValueProvidedForAnnotationParameterException

@Message(id=85,
         value="No value provided for parameter \'%1$s\' of annotation @%2$s.")
IllegalArgumentException getNoValueProvidedForAnnotationParameterException(String parameterName,
                                                                                   String annotation)

getTryingToInstantiateAnnotationWithUnknownParametersException

@Message(id=86,
         value="Trying to instantiate %1$s with unknown parameter(s): %2$s.")
RuntimeException getTryingToInstantiateAnnotationWithUnknownParametersException(Class<?> 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)

getHasToBeAPrimitiveTypeException

@Message(id=91,
         value="%s has to be a primitive type.")
IllegalArgumentException getHasToBeAPrimitiveTypeException(Class<?> clazz)

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)

getUnableToInstantiateConstraintFactoryClassException

@Message(id=95,
         value="Unable to instantiate constraint factory class %s.")
ValidationException getUnableToInstantiateConstraintFactoryClassException(String constraintFactoryClassName,
                                                                                  @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
                                                                       JAXBException e)

getIsNotAnAnnotationException

@Message(id=101,
         value="%s is not an annotation.")
ValidationException getIsNotAnAnnotationException(String annotationClassName)

getIsNotAConstraintValidatorClassException

@Message(id=102,
         value="%s is not a constraint validator class.")
ValidationException getIsNotAConstraintValidatorClassException(Class<?> validatorClass)

getBeanClassHasAlreadyBeConfiguredInXmlException

@Message(id=103,
         value="%s is configured at least twice in xml.")
ValidationException getBeanClassHasAlreadyBeConfiguredInXmlException(String beanClassName)

getIsDefinedTwiceInMappingXmlForBeanException

@Message(id=104,
         value="%1$s is defined twice in mapping xml for bean %2$s.")
ValidationException getIsDefinedTwiceInMappingXmlForBeanException(String name,
                                                                          String beanClassName)

getBeanDoesNotContainTheFieldException

@Message(id=105,
         value="%1$s does not contain the fieldType %2$s.")
ValidationException getBeanDoesNotContainTheFieldException(String beanClassName,
                                                                   String fieldName)

getBeanDoesNotContainThePropertyException

@Message(id=106,
         value="%1$s does not contain the property %2$s.")
ValidationException getBeanDoesNotContainThePropertyException(String beanClassName,
                                                                      String getterName)

getAnnotationDoesNotContainAParameterException

@Message(id=107,
         value="Annotation of type %1$s does not contain a parameter %2$s.")
ValidationException getAnnotationDoesNotContainAParameterException(String annotationClassName,
                                                                           String parameterName)

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()

getUnexpectedParameterValueException

ValidationException getUnexpectedParameterValueException(@Cause
                                                         ClassCastException e)

getInvalidNumberFormatException

@Message(id=110,
         value="Invalid %s format.")
ValidationException getInvalidNumberFormatException(String formatName,
                                                            @Cause
                                                            NumberFormatException e)

getInvalidCharValueException

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

getInvalidReturnTypeException

@Message(id=112,
         value="Invalid return type: %s. Should be a enumeration type.")
ValidationException getInvalidReturnTypeException(Class<?> returnType,
                                                          @Cause
                                                          ClassCastException e)

getReservedParameterNamesException

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

getWrongPayloadClassException

@Message(id=114,
         value="Specified payload class %s does not implement javax.validation.Payload")
ValidationException getWrongPayloadClassException(String payloadClassName)

getErrorParsingMappingFileException

@Message(id=115,
         value="Error parsing mapping file.")
ValidationException getErrorParsingMappingFileException(@Cause
                                                                JAXBException e)

getIllegalArgumentException

@Message(id=116,
         value="%s")
IllegalArgumentException getIllegalArgumentException(String message)

getInvalidPropertyValue

@Message(id=117,
         value="Invalid value for property %s: %s")
ValidationException getInvalidPropertyValue(String propertyName,
                                                    String propertyValue,
                                                    @Cause
                                                    Exception e)

unableToNarrowNodeType

@Message(id=118,
         value="Unable to cast %s to %s")
ClassCastException unableToNarrowNodeType(String actualDescriptorType,
                                                  String expectedDescriptorType)

usingParameterNameProvider

@LogMessage(level=INFO)
@Message(id=119,
         value="Using %s as parameter name provider.")
void usingParameterNameProvider(String parameterNameProviderClassName)

getUnableToInstantiateParameterNameProviderClassException

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

getUnableToDetermineSchemaVersionException

@Message(id=121,
         value="Unable to parse %s.")
ValidationException getUnableToDetermineSchemaVersionException(String file,
                                                                       @Cause
                                                                       XMLStreamException e)

getUnsupportedSchemaVersionException

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

getUnableToResetXmlInputStreamException

@Message(id=123,
         value="Unable to parse %s.")
ValidationException getUnableToResetXmlInputStreamException(String file,
                                                                    @Cause
                                                                    IOException e)

getMultipleGroupConversionsForSameSourceException

@Message(id=124,
         value="Found multiple group conversions for source group %s: %s.")
ConstraintDeclarationException getMultipleGroupConversionsForSameSourceException(Class<?> from,
                                                                                         Set<Class<?>> tos)

getGroupConversionOnNonCascadingElementException

@Message(id=125,
         value="Found group conversions for non-cascading element %s.")
ConstraintDeclarationException getGroupConversionOnNonCascadingElementException(ConstraintLocation location)

beanManagerIsNotAvailable

@Message(id=126,
         value="No bean manager is available. In order to use InjectingConstraintValidatorFactory, the javax.validation.Validator must either be retrieved via dependency injection or a bean manager must be available via JNDI.")
IllegalStateException beanManagerIsNotAvailable()

getGroupConversionForSequenceException

@Message(id=127,
         value="Found group conversion using a group sequence as source: %s.")
ConstraintDeclarationException getGroupConversionForSequenceException(Class<?> from)

getAnnotationIsNoConstraintTypeException

@Message(id=128,
         value="Annotation type %s is no constraint annotation. It needs to be annotated with @Constraint or @CrossParameterConstraint.")
ConstraintDefinitionException getAnnotationIsNoConstraintTypeException(Class<? extends Annotation> annotationType)

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)

methodReturnValueMustNotBeMarkedMoreThanOnceForCascadedValidation

@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 methodReturnValueMustNotBeMarkedMoreThanOnceForCascadedValidation(Member member1,
                                                                                                         Member member2)

voidMethodsMustNotBeConstrained

@Message(id=132,
         value="Void methods must not be constrained or marked for cascaded validation, but method %s is.")
ConstraintDeclarationException voidMethodsMustNotBeConstrained(Member member)

getBeanDoesNotContainConstructorException

@Message(id=133,
         value="%1$s does not contain a constructor with the parameter types %2$s.")
ValidationException getBeanDoesNotContainConstructorException(String beanClassName,
                                                                      List<Class<?>> parameterTypes)

getInvalidParameterTypeException

@Message(id=134,
         value="Unable to load parameter of type \'%1$s\' in %2$s.")
ValidationException getInvalidParameterTypeException(String type,
                                                             String beanClassName)

getBeanDoesNotContainMethodException

@Message(id=135,
         value="%1$s does not contain a method with the name \'%2$s\' and parameter types %3$s.")
ValidationException getBeanDoesNotContainMethodException(String beanClassName,
                                                                 String methodName,
                                                                 List<Class<?>> parameterTypes)

unableToLoadConstraintAnnotationClassException

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

getMethodIsDefinedTwiceInMappingXmlForBeanException

@Message(id=137,
         value="The method \'%1$s\' is defined twice in the mapping xml for bean %2$s.")
ValidationException getMethodIsDefinedTwiceInMappingXmlForBeanException(String name,
                                                                                String beanClassName)

getConstructorIsDefinedTwiceInMappingXmlForBeanException

@Message(id=138,
         value="The constructor \'%1$s\' is defined twice in the mapping xml for bean %2$s.")
ValidationException getConstructorIsDefinedTwiceInMappingXmlForBeanException(String name,
                                                                                     String beanClassName)

getMultipleCrossParameterValidatorClassesException

@Message(id=139,
         value="The constraint \'%1$s\' defines multiple cross parameter constraints. Only one is allowed.")
ConstraintDefinitionException getMultipleCrossParameterValidatorClassesException(String constraint)

getGenericAndCrossParameterValidatorWithoutConstraintTargetException

@Message(id=140,
         value="The constraint %1$s has both generic and cross-parameter validators, but does not specify the parameter \'validationAppliesTo\'")
ConstraintDefinitionException getGenericAndCrossParameterValidatorWithoutConstraintTargetException(String constraint)

getImplicitConstraintTargetInAmbiguousConfigurationException

@Message(id=141,
         value="The constraint %1$s used ConstraintTarget#IMPLICIT where the target cannot be inferred.")
ConstraintDeclarationException getImplicitConstraintTargetInAmbiguousConfigurationException(String constraint)

getCrossParameterConstraintOnMethodWithoutParametersException

@Message(id=142,
         value="Cross parameter constraint %1$s is illegally placed on a parameterless method or constructor \'%2$s\'.")
ConstraintDeclarationException getCrossParameterConstraintOnMethodWithoutParametersException(String constraint,
                                                                                                     String member)

getCrossParameterConstraintOnClassException

@Message(id=143,
         value="Cross parameter constraint %1$s is illegally placed on class level.")
ConstraintDeclarationException getCrossParameterConstraintOnClassException(String constraint)

getCrossParameterConstraintOnFieldException

@Message(id=144,
         value="Cross parameter constraint %1$s is illegally placed on field \'%2$s\'.")
ConstraintDeclarationException getCrossParameterConstraintOnFieldException(String constraint,
                                                                                   String field)

getUnableToDetermineConstraintType

@Message(id=145,
         value="Unable to determine whether the constraint %1$s is a generic or cross parameter constraint.")
ConstraintDefinitionException getUnableToDetermineConstraintType(String constraint)

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)


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved