• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exceptions in Lifecycle call back and Interceptors

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need clarification on lifecycle call back methods and interceptors. In Chapter 5 page 166 in the book EJB3 in action, it is given in a table that
"May throw runtime exceptions but must not throw checked exception" for LifeCycle call back methods.

But I have a method annotated with @PostConstruct and I am able to throw all kinds of exceptions from that method viz. IOException, AirthmeticException. and my weblogic doesn't even warn during startup. Can someone please explain the exceptions in interceptors and life cycle call back methods in detail.
reply
    Bookmark Topic Watch Topic
  • New Topic