Skip to content

Interceptor signature warnings (not spec-conformant) #22

@sgbeal

Description

@sgbeal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions