• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
Arthur, where are your pants? Check under this tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic