]
Ales Justin resolved WELD-944.
------------------------------
Resolution: Incomplete Description
Improve error message for missing class of interceptor or decorator.
--------------------------------------------------------------------
Key: WELD-944
URL:
https://issues.jboss.org/browse/WELD-944
Project: Weld
Issue Type: Enhancement
Components: Interceptors and Decorators
Affects Versions: 1.1.1.Final
Reporter: Ondrej Zizka
Based on WELD-940:
When an interceptor or decorator is defined in beans.xml, but the class is missing,
current error message is a bit misleading:
{quote}
WELD-001417 Enabled interceptor class
<class>org.jboss.weld.environment.se.jpa.JpaTransactionInterceptor</class> in
jar:file:/mnt/ssd1/data/.m2/repository/org/jboss/jawabot/JawaBot-core/2.0.0-SNAPSHOT/JawaBot-core-2.0.0-SNAPSHOT.jar!/META-INF/beans.xml@11
is neither annotated @Interceptor nor registered through a portable extension
at
org.jboss.weld.bootstrap.Validator.validateEnabledInterceptorClasses(Validator.java:466)
{quote}
Maybe we should check whether the class is loaded, and if not, log WARN or ERROR about
it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: