• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to catch exception thrown from ejbStore

 
Shakti Sharma
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a servlet which is calling entity bean, in entity beans store method I am throwing Application Exception, but in servlet I am not able to catch this exception ,instead of my application exception I get TransactionRolledBack exception, which I think is throwen from the container when I mark transaction for rollback only in entity beans store method. Can anybody suggest me how I can catch my application exception in servlet.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic