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

EPractice Labs final exam question 43

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the code from this question:


According to the explanation of the test, the commit() method will throw IllegalStateException.
But it actually throws javax.transaction.RollbackException: Transaction marked for rollback. ....
at com.scbcd6.enthu.ProcessOrderBean.endProcess()...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic