This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what exception will be thrown CMT?

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In CMT,
If a first method which in transaction calls second method which trans-attribute value is NEVER , then second method throws exception.
this is fine.

but What exception will be thrown?

Yamini.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.transaction.NotSupportedException sounds right to me, but I'd consult the EJB specs for an authoritative answer.
 
Sandesh Tathare
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Container throws the java.rmi.RemoteException if client is a remote client, or javax.ejb.EJBException if client is a local client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic