Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exceptions in Lifecycle call back and Interceptors  RSS feed

narain ashwin
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!