Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!