Hi Folks,
Can someone please explain why Container throws 2 different (EJBExceptiion and EJBTransactionRolledbackException) exceptions in case of System exception in bean(CMT) method upon the transaction context of caller?
ie, why container throws EJBExceptiion if TM creates a new transaction for bean, while throws an EJBTransactionRolledbackException if TM does not create new transaction for bean.
My question is yhy container throws 2 instead of 1 EJBTransactionRolledbackException or EJBExceptiion?
(Refer sec 14.3.1 of
ejb spec)
Thanks
Cham
[ October 25, 2008: Message edited by: Chaminda Amarasinghe ]
[ October 25, 2008: Message edited by: Chaminda Amarasinghe ]