• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Be careful with exceptions on HF

 
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a piece of advice for who is studying EJB exceptions on HF.

On page 551, it's clearly stated that:

TransactionRequiredException
TransactionRolledbackException

are part of the javax.ejb package.

These are part of the javax.transaction package

This costed me a correct answer on the Mock Exam.

And since I'm here...

There are:

javax.transaction.TransactionRolledbackException (EJB - related)
javax.jms.TransactionRolledBackException (JMS - related)
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Marco Tedone:
This is a piece of advice for who is studying EJB exceptions on HF.

On page 551, it's clearly stated that:

TransactionRequiredException
TransactionRolledbackException

are part of the javax.ejb package.

These are part of the javax.transaction package

This costed me a correct answer on the Mock Exam.

And since I'm here...

There are:

javax.transaction.TransactionRolledbackException (EJB - related)
javax.jms.TransactionRolledBackException (JMS - related)




You can check this error and other ones in HEF�s errata link
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic