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

Can a client get IllegalStateException?

 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A CMT bean accessing EJBContext.getUserTransaction() or a BMT bean accessing setRollbackOnly/getRollbackOly() throws an IllegalStateExcetion.
Can somebody tell me if a client receives this IllegalStateException as it is or Will it receive this Exception(IllegalStateException) wrapped up in a RemoteException if it is a remote client and EJBException if it is a local client?
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vish,
IllegalStateException wrapped up in a RemoteException if it is a remote client and EJBException if it is a local client.
Regards,
Phil.
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers Phil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic