Interface ValidatorLogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger, WeldLogger
    All Known Implementing Classes:
    ValidatorLogger_$logger

    @MessageLogger(projectCode="WELD-")
    public interface ValidatorLogger
    extends WeldLogger
    Log messages for validation related classes. Message IDs: 001400 - 001499
    • Method Detail

      • beanSpecializedTooManyTimes

        @Message(id=1401,
                 value="Two beans cannot specialize the same bean {0}",
                 format=MESSAGE_FORMAT)
        InconsistentSpecializationException beanSpecializedTooManyTimes​(Object param1)
      • passivatingBeanWithNonserializableInterceptor

        @Message(id=1402,
                 value="The bean {0} declares a passivating scope but has a non-serializable interceptor {1}",
                 format=MESSAGE_FORMAT)
        DeploymentException passivatingBeanWithNonserializableInterceptor​(Object param1,
                                                                          Object param2)
      • passivatingBeanWithNonserializableDecorator

        @Message(id=1403,
                 value="The bean {0} declares a passivating scope but has a non-serializable decorator {1}",
                 format=MESSAGE_FORMAT)
        UnserializableDependencyException passivatingBeanWithNonserializableDecorator​(Object param1,
                                                                                      Object param2)
      • newWithQualifiers

        @Message(id=1404,
                 value="The injection point is annotated with @New which cannot be combined with other qualifiers: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException newWithQualifiers​(Object param1,
                                              Object stackElement)
      • injectionIntoNonBean

        @Message(id=1405,
                 value="Cannot inject {0} in a class which is not a bean\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException injectionIntoNonBean​(Object param1,
                                                 Object stackElement)
      • injectionIntoNonDependentBean

        @Message(id=1406,
                 value="Cannot inject injection point metadata in a non @Dependent scoped bean: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException injectionIntoNonDependentBean​(Object param1,
                                                          Object stackElement)
      • injectionPointWithTypeVariable

        @Message(id=1407,
                 value="Cannot declare an injection point with a type variable: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException injectionPointWithTypeVariable​(Object param1,
                                                           Object stackElement)
      • injectionPointHasUnsatisfiedDependencies

        @Message(id=1408,
                 value="Unsatisfied dependencies for type {2} with qualifiers {1}\n  at injection point {0}\n  at {3}\n{4}",
                 format=MESSAGE_FORMAT)
        DeploymentException injectionPointHasUnsatisfiedDependencies​(Object param1,
                                                                     Object param2,
                                                                     Object param3,
                                                                     Object param4,
                                                                     Object param5)
      • injectionPointHasAmbiguousDependencies

        @Message(id=1409,
                 value="Ambiguous dependencies for type {2} with qualifiers {1}\n  at injection point {0}\n  at {3}\n  Possible dependencies: {4}\n",
                 format=MESSAGE_FORMAT)
        DeploymentException injectionPointHasAmbiguousDependencies​(Object param1,
                                                                   Object param2,
                                                                   Object param3,
                                                                   Object param4,
                                                                   Object param5)
      • injectionPointHasNonProxyableDependencies

        @Message(id=1410,
                 value="The injection point has non-proxyable dependencies: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DeploymentException injectionPointHasNonProxyableDependencies​(Object param1,
                                                                      Object stackElement,
                                                                      @Cause
                                                                      Throwable cause)
      • injectionPointHasNonSerializableDependency

        @Message(id=1413,
                 value="The bean {0} declares a passivating scope but has a non-passivation-capable dependency {1}",
                 format=MESSAGE_FORMAT)
        UnserializableDependencyException injectionPointHasNonSerializableDependency​(Object param1,
                                                                                     Object param2)
      • ambiguousElName

        @Message(id=1414,
                 value="Bean name is ambiguous. Name {0} resolves to beans: {1}",
                 format=MESSAGE_FORMAT)
        DeploymentException ambiguousElName​(Object param1,
                                            Object param2)
      • beanNameIsPrefix

        @Message(id=1415,
                 value="Bean name is identical to a bean name prefix used elsewhere. Name {0}",
                 format=MESSAGE_FORMAT)
        DeploymentException beanNameIsPrefix​(Object param1)
      • interceptorSpecifiedTwice

        @Message(id=1416,
                 value="Enabled interceptor class {0} specified twice:\n  - {1},\n  - {2}",
                 format=MESSAGE_FORMAT)
        DeploymentException interceptorSpecifiedTwice​(Object param1,
                                                      Object param2,
                                                      Object param3)
      • interceptorClassDoesNotMatchInterceptorBean

        @Message(id=1417,
                 value="Enabled interceptor class {0} ({1}) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive",
                 format=MESSAGE_FORMAT)
        DeploymentException interceptorClassDoesNotMatchInterceptorBean​(Object value,
                                                                        Object location)
      • decoratorSpecifiedTwice

        @Message(id=1418,
                 value="Enabled decorator class {0} specified twice:\n  - {1},\n  - {2}",
                 format=MESSAGE_FORMAT)
        DeploymentException decoratorSpecifiedTwice​(Object param1,
                                                    Object param2,
                                                    Object param3)
      • decoratorClassNotBeanClassOfDecorator

        @Message(id=1419,
                 value="Enabled decorator class {0} is not the bean class of at least one decorator bean (detected decorator beans: {1})",
                 format=MESSAGE_FORMAT)
        DeploymentException decoratorClassNotBeanClassOfDecorator​(Object param1,
                                                                  Object param2)
      • alternativeStereotypeNotStereotype

        @Message(id=1420,
                 value="Enabled alternative {0} is not a stereotype",
                 format=MESSAGE_FORMAT)
        DeploymentException alternativeStereotypeNotStereotype​(Object param1)
      • alternativeStereotypeSpecifiedMultipleTimes

        @Message(id=1421,
                 value="Cannot enable the same alternative stereotype {0} in beans.xml:\n  - {1},\n  - {2}",
                 format=MESSAGE_FORMAT)
        DeploymentException alternativeStereotypeSpecifiedMultipleTimes​(Object param1,
                                                                        Object param2,
                                                                        Object param3)
      • alternativeBeanClassNotAnnotated

        @Message(id=1422,
                 value="Enabled alternative class {0} ({1}) does not match any bean, or is not annotated with @Alternative or an @Alternative stereotype, or does not declare a producer annotated with @Alternative or an @Alternative stereotype",
                 format=MESSAGE_FORMAT)
        DeploymentException alternativeBeanClassNotAnnotated​(Object value,
                                                             Object location)
      • disposalMethodsWithoutProducer

        @Message(id=1424,
                 value="The following disposal methods were declared but did not resolve to a producer method: {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException disposalMethodsWithoutProducer​(Object param1)
      • injectionPointHasWildcard

        @Message(id=1425,
                 value="An injection point cannot have a wildcard type parameter: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException injectionPointHasWildcard​(Object param1,
                                                      Object stackElement)
      • injectionPointMustHaveTypeParameter

        @Message(id=1426,
                 value="An injection point must have a type parameter: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException injectionPointMustHaveTypeParameter​(Object param1,
                                                                Object stackElement)
      • nonFieldInjectionPointCannotUseNamed

        @Message(id=1427,
                 value="Only field injection points can use the @Named qualifier with no value: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException nonFieldInjectionPointCannotUseNamed​(Object param1,
                                                                 Object stackElement)
      • decoratorsCannotHaveProducerMethods

        @Message(id=1428,
                 value="A decorator cannot have producer methods, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException decoratorsCannotHaveProducerMethods​(Object param1)
      • decoratorsCannotHaveProducerFields

        @Message(id=1429,
                 value="A decorator cannot have producer fields, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException decoratorsCannotHaveProducerFields​(Object param1)
      • decoratorsCannotHaveDisposerMethods

        @Message(id=1430,
                 value="A decorator cannot have disposer methods, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException decoratorsCannotHaveDisposerMethods​(Object param1)
      • interceptorsCannotHaveProducerMethods

        @Message(id=1431,
                 value="An interceptor cannot have producer methods, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorsCannotHaveProducerMethods​(Object param1)
      • interceptorsCannotHaveProducerFields

        @Message(id=1432,
                 value="An interceptor cannot have producer fields, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorsCannotHaveProducerFields​(Object param1)
      • interceptorsCannotHaveDisposerMethods

        @Message(id=1433,
                 value="An interceptor cannot have disposer methods, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorsCannotHaveDisposerMethods​(Object param1)
      • notProxyableUnknown

        @Message(id=1434,
                 value="Normal scoped bean {0} is not proxyable for an unknown reason - {1}.",
                 format=MESSAGE_FORMAT)
        UnproxyableResolutionException notProxyableUnknown​(Object param1,
                                                           Object param2)
      • notProxyableNoConstructor

        @Message(id=1435,
                 value="Normal scoped bean {0} is not proxyable because it has no no-args constructor - {1}.",
                 format=MESSAGE_FORMAT)
        UnproxyableResolutionException notProxyableNoConstructor​(Object param1,
                                                                 Object param2)
      • notProxyablePrivateConstructor

        @Message(id=1436,
                 value="Type {0} is not proxyable because it has a private constructor {1} - {2}.",
                 format=MESSAGE_FORMAT)
        String notProxyablePrivateConstructor​(Object param1,
                                              Object param2,
                                              Object param3)
      • notProxyableFinalType

        @Message(id=1437,
                 value="Bean type {0} is not proxyable because it is final - {1}.",
                 format=MESSAGE_FORMAT)
        UnproxyableResolutionException notProxyableFinalType​(Object param1,
                                                             Object param2)
      • notProxyablePrimitive

        @Message(id=1438,
                 value="Bean type {0} is not proxyable because it is a primitive - {1}.",
                 format=MESSAGE_FORMAT)
        UnproxyableResolutionException notProxyablePrimitive​(Object param1,
                                                             Object param2)
      • notProxyableArrayType

        @Message(id=1439,
                 value="Bean type {0} is not proxyable because it is an array type - {1}.",
                 format=MESSAGE_FORMAT)
        UnproxyableResolutionException notProxyableArrayType​(Object param1,
                                                             Object param2)
      • scopeAnnotationOnInjectionPoint

        @LogMessage(level=WARN)
        @Message(id=1440,
                 value="Scope type {0} used on injection point {1}\n\tat {2}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        void scopeAnnotationOnInjectionPoint​(Object param1,
                                             Object param2,
                                             Object stackElement)
      • alternativeBeanClassNotClass

        @Message(id=1441,
                 value="Enabled alternative {0} is not a class",
                 format=MESSAGE_FORMAT)
        DeploymentException alternativeBeanClassNotClass​(Object param1)
      • alternativeStereotypeNotAnnotated

        @Message(id=1442,
                 value="Enabled alternative {0} is not annotated @Alternative",
                 format=MESSAGE_FORMAT)
        DeploymentException alternativeStereotypeNotAnnotated​(Object param1)
      • pseudoScopedBeanHasCircularReferences

        @Message(id=1443,
                 value="Pseudo scoped bean has circular dependencies. Dependency path: {0}",
                 format=MESSAGE_FORMAT)
        DeploymentException pseudoScopedBeanHasCircularReferences​(Object param1)
      • interceptorsCannotHaveObserverMethods

        @Message(id=1445,
                 value="An interceptor cannot have observer methods, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorsCannotHaveObserverMethods​(Object param1)
      • decoratorsCannotHaveObserverMethods

        @Message(id=1446,
                 value="A decorator cannot have observer methods, but at least one was found on {0}.",
                 format=MESSAGE_FORMAT)
        DefinitionException decoratorsCannotHaveObserverMethods​(Object param1)
      • interceptorMethodDoesNotReturnObject

        @Message(id=1447,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not return {3}\n\tat {4}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorMethodDoesNotReturnObject​(Object param1,
                                                                 Object param2,
                                                                 Object param3,
                                                                 Object param4,
                                                                 Object stackElement)
      • interceptorMethodDoesNotHaveExactlyOneParameter

        @Message(id=1448,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not have exactly one parameter\n\tat {3}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorMethodDoesNotHaveExactlyOneParameter​(Object param1,
                                                                            Object param2,
                                                                            Object param3,
                                                                            Object stackElement)
      • interceptorMethodDoesNotHaveCorrectTypeOfParameter

        @Message(id=1449,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but its single parameter is not a {3}\n\tat {4}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorMethodDoesNotHaveCorrectTypeOfParameter​(Object param1,
                                                                               Object param2,
                                                                               Object param3,
                                                                               Object param4,
                                                                               Object stackElement)
      • userTransactionInjectionIntoBeanWithContainerManagedTransactions

        @Message(id=1451,
                 value="jakarta.transaction.UserTransaction cannot be injected into an enterprise bean with container-managed transactions: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException userTransactionInjectionIntoBeanWithContainerManagedTransactions​(Object param1,
                                                                                             Object stackElement)
      • invalidBeanMetadataInjectionPointType

        @Message(id=1452,
                 value="{0} is not a valid type for a Bean metadata injection point {1}\n\tat {2}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException invalidBeanMetadataInjectionPointType​(Object param1,
                                                                  Object param2,
                                                                  Object stackElement)
      • invalidBeanMetadataInjectionPointTypeArgument

        @Message(id=1453,
                 value="{0} is not a valid type argument for a Bean metadata injection point {1}\n\tat {2}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException invalidBeanMetadataInjectionPointTypeArgument​(Object param1,
                                                                          Object param2,
                                                                          Object stackElement)
      • invalidBeanMetadataInjectionPointQualifier

        @Message(id=1454,
                 value="{0} cannot be used at a Bean metadata injection point of a bean which is not {1}, {2}\n\tat {3}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException invalidBeanMetadataInjectionPointQualifier​(Object param1,
                                                                       Object param2,
                                                                       Object param3,
                                                                       Object stackElement)
      • noDecoratedTypes

        @Message(id=1455,
                 value="{0} does not declare any decorated types.",
                 format=MESSAGE_FORMAT)
        DefinitionException noDecoratedTypes​(Object param1)
      • argumentNull

        @Message(id=1456,
                 value="Argument {0} must not be null",
                 format=MESSAGE_FORMAT)
        IllegalArgumentException argumentNull​(Object param1)
      • alternativeClassSpecifiedMultipleTimes

        @Message(id=1457,
                 value="Cannot enable the same alternative class {0} in beans.xml:\n  - {1},\n  - {2}",
                 format=MESSAGE_FORMAT)
        DeploymentException alternativeClassSpecifiedMultipleTimes​(Object param1,
                                                                   Object param2,
                                                                   Object param3)
      • beanWithPassivatingScopeNotPassivationCapable

        @Message(id=1463,
                 value="Bean declaring a passivating scope must be passivation capable.  Bean:  {0}",
                 format=MESSAGE_FORMAT)
        DeploymentException beanWithPassivatingScopeNotPassivationCapable​(Object param1)
      • builtinBeanWithNonserializableDecorator

        @Message(id=1465,
                 value="{0} for a built-in bean {1} must be passivation capable.",
                 format=MESSAGE_FORMAT)
        UnserializableDependencyException builtinBeanWithNonserializableDecorator​(Object param1,
                                                                                  Object param2)
      • injectionIntoDisposerMethod

        @Message(id=1466,
                 value="Invalid injection point found in a disposer method: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException injectionIntoDisposerMethod​(Object param1,
                                                        Object stackElement)
      • interceptorMethodDoesNotReturnObjectOrVoid

        @Message(id=1467,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not return {3} or {4}.\n\tat {5}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorMethodDoesNotReturnObjectOrVoid​(Object param1,
                                                                       Object param2,
                                                                       Object param3,
                                                                       Object param4,
                                                                       Object param5,
                                                                       Object stackElement)
      • interceptorMethodDoesNotHaveVoidReturnType

        @Message(id=1468,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not have a {3} return type.\n\tat {4}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorMethodDoesNotHaveVoidReturnType​(Object param1,
                                                                       Object param2,
                                                                       Object param3,
                                                                       Object param4,
                                                                       Object stackElement)
      • interceptorMethodDoesNotHaveZeroParameters

        @LogMessage(level=WARN)
        @Message(id=1469,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not have zero parameters.\n",
                 format=MESSAGE_FORMAT)
        void interceptorMethodDoesNotHaveZeroParameters​(Object param1,
                                                        Object param2,
                                                        Object param3)
      • interceptorMethodShouldNotThrowCheckedExceptions

        @LogMessage(level=WARN)
        @Message(id=1471,
                 value="Interceptor method {0} defined on class {1} is not defined according to the specification. It should not throw {2}, which is a checked exception.\n\tat {3}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        void interceptorMethodShouldNotThrowCheckedExceptions​(Object param1,
                                                              Object param2,
                                                              Object param3,
                                                              Object stackElement)
      • eventMetadataInjectedOutsideOfObserver

        @Message(id=1472,
                 value="EventMetadata can only be injected into an observer method: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException eventMetadataInjectedOutsideOfObserver​(Object param1,
                                                                   Object stackElement)
      • beanNotPassivationCapable

        @LogMessage(level=WARN)
        @Message(id=1473,
                 value="jakarta.enterprise.inject.spi.Bean implementation {0} declared a normal scope but does not implementjakarta.enterprise.inject.spi.PassivationCapable. It won\'\'\'t be possible to inject this bean into a bean with a passivating scope (@SessionScoped, @ConversationScoped). This can be fixed by assigning the Bean implementation a unique id by implementing the PassivationCapable interface.",
                 format=MESSAGE_FORMAT)
        void beanNotPassivationCapable​(Object param1)
      • unsatisfiedDependencyBecauseClassIgnored

        @Message(id=1474,
                 value="Class {0} is on the classpath, but was ignored because a class it references was not found: {1}.\n",
                 format=MESSAGE_FORMAT)
        String unsatisfiedDependencyBecauseClassIgnored​(Object param1,
                                                        Object param2)
      • unsatisfiedDependencyBecauseQualifiersDontMatch

        @Message(id=1475,
                 value="The following beans match by type, but none have matching qualifiers:{0}\n",
                 format=MESSAGE_FORMAT)
        String unsatisfiedDependencyBecauseQualifiersDontMatch​(Object param1)
      • interceptorOrDecoratorMustBeDependent

        @Message(id=1476,
                 value="{0} must be @Dependent",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorOrDecoratorMustBeDependent​(Object param1)
      • interceptorDecoratorInjectionPointHasNonSerializableDependency

        @Message(id=1477,
                 value="The bean {0} declares a passivating scope but has a(n) {1} with a non-passivation-capable dependency {2}",
                 format=MESSAGE_FORMAT)
        UnserializableDependencyException interceptorDecoratorInjectionPointHasNonSerializableDependency​(Object param1,
                                                                                                         Object param2,
                                                                                                         Object param3)
      • interceptorEnabledForApplicationAndBeanArchive

        @LogMessage(level=WARN)
        @Message(id=1478,
                 value="Interceptor {0} is enabled for the application and for the bean archive {1}. It will only be invoked in the @Priority part of the chain.",
                 format=MESSAGE_FORMAT)
        void interceptorEnabledForApplicationAndBeanArchive​(Object interceptor,
                                                            Object beanArchive)
      • decoratorEnabledForApplicationAndBeanArchive

        @LogMessage(level=WARN)
        @Message(id=1479,
                 value="Decorator {0} is enabled for the application and for the bean archive {1}. It will only be invoked in the @Priority part of the chain.",
                 format=MESSAGE_FORMAT)
        void decoratorEnabledForApplicationAndBeanArchive​(Object decorator,
                                                          Object beanArchive)
      • notProxyableFinalMethod

        @Message(id=1480,
                 value="Bean type {0} is not proxyable because it contains a final method {1} - {2}.",
                 format=MESSAGE_FORMAT)
        UnproxyableResolutionException notProxyableFinalMethod​(Object beanType,
                                                               Method finalMethod,
                                                               Object declaringBean)
      • notProxyableFinalMethodIgnored

        @LogMessage(level=WARN)
        @Message(id=1481,
                 value="Final method will be ignored during proxy generation and should never be invoked upon the proxy instance! {0} - {1}.",
                 format=MESSAGE_FORMAT)
        void notProxyableFinalMethodIgnored​(Method invalidMethod,
                                            Object declaringBean)
      • invalidInterceptionFactoryInjectionPoint

        @Message(id=1482,
                 value="InterceptionFactory can only be injected in a parameter of a producer method: {0}\n\tat {1}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException invalidInterceptionFactoryInjectionPoint​(Object injectionPoint,
                                                                     Object stackElement)
      • argumentNull

        @Message(id=1483,
                 value="Argument must not be null",
                 format=MESSAGE_FORMAT)
        IllegalArgumentException argumentNull()
      • interceptorMethodDeclaresMultipleParameters

        @Message(id=1485,
                 value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} and it declares more than one parameter.\n\tat {3}\n  StackTrace",
                 format=MESSAGE_FORMAT)
        DefinitionException interceptorMethodDeclaresMultipleParameters​(Object param1,
                                                                        Object param2,
                                                                        Object param3,
                                                                        Object stackElement)