• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exceptions question!!!(Hfe page 556:point 5)

 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A bean realises it cant commit a transaction ,but it does'nt want the client to get an exception.what can the bean do?
what does the question mean?
i think....there is a TransactionRolledBackException() if the caller is also is in the same context...so use a try/catch to catch the exception and not let the exception propagate to the container ..and then to the client.am i correct?
please throw some light
thanks
Pradeep
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very naughty of you to post the same question twice (on Feb 17 and Feb 19). Don't waste people's time answering something that someone else already spent time answering.
 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cool it dude.....sip some cold java.... ...my second error on the forum...please forgive me
thanks
Pradeep
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic