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.
From jdk8 (1.8.0u45) via intelliJ when executing the chapter 2 ex33 tests:
page 46 of the book says "This method can throw a checked exception" in reference to Interceptors.