This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NoSuchObjectException or RemoteException?  RSS feed

 
kenny lomax
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am a newbie here - and am swotting up for the exam with HeadFirstEJB.
I am confused over page 559 and 566:
If a client calls a method on an obect that has been removed, is a
NoSuchObjectException or a RemoteException thrown,
or similarly a
NoSuchObjectLocalException or EJBException.

I would think NSOE or NSOLE but page 559 saye Remote or EHBException
Many thanks!
Kenny
 
Muthaiah Ramanathan
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I too agree with you - it should be either NSOE or NSOLE. But note that NSOE is subclass of RemoteException and NSOLE is a subclass of EJBException.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!