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

Part I question

 
Harsha Jay
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In this question above the correct answer I think is option b.

But the exam answer says it is option a.

any one clarify this?

-Thanks
[ September 13, 2004: Message edited by: Harsha Jay ]
 
Fais Ari
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right it should be remote ex, EJBException is thrown in case of local clients and remote exception for remote clients

just my two cents...
 
James Wang
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,Harsha

I think the answer is correct, the EJBException is a system level exception, it is a Runtime exception. so it is right.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer should be A.

Whenever there are SystemException encountered, EJBException will be thrown. The container will then based on the type of client (remote or local) to determine whether RemoteException or EJBException will be thrown.

Nick
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Checkout Valentine's cheat sheets on exception handling. They are really cool!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic