Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interceptor signature warnings (not spec-conformant) #22

Open
sgbeal opened this issue Aug 5, 2015 · 0 comments
Open

Interceptor signature warnings (not spec-conformant) #22

sgbeal opened this issue Aug 5, 2015 · 0 comments

Comments

@sgbeal
Copy link

sgbeal commented Aug 5, 2015

From jdk8 (1.8.0u45) via intelliJ when executing the chapter 2 ex33 tests:

[main] WARN org.jboss.weld.Reflection - WELD-001471 Interceptor method logMethod defined on class org.agoncal.book.javaee7.chapter02.ex27.ProfileInterceptor27 is not defined according to the specification. It should not throw java.lang.Exception, which is a checked exception.
[main] WARN org.jboss.weld.Reflection - WELD-001471 Interceptor method init defined on class org.agoncal.book.javaee7.chapter02.ex25.LoggingInterceptor25 is not defined according to the specification. It should not throw java.lang.Exception, which is a checked exception.

page 46 of the book says "This method can throw a checked exception" in reference to Interceptors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant