Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFE Pg 551; fig 2  RSS feed

 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The figure 2 shows that TransactionRequiredException and TransactionRolledbackException belong to the javax.ejb package but the java docs say that they belong to the javax.transaction package. Please see the links below:
http://java.sun.com/j2se/1.3/docs/api/javax/transaction/package-summary.html
http://java.sun.com/j2se/1.3/docs/api/javax/transaction/TransactionRequiredException.html
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is just a typo or an oversight that was probaby missed because the local versions of those exceptions are from the javax.ejb package. Trust the javadocs over any book.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!