• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exceptions

 
Sudd Ghosh
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I am getting very confused with the Exceptions.
At someplace the specs say that the application exceptions are propagated to the client and the client is given a chance to handle. The system/checked exceptions are handled by the container. Any application exception that we don't want the client to handle should be wrapped inside EJBException and re-thrown so that the container can handle it.
What is the deal with RemoteException? According to me that is also a checked exception (from Exception.IOException class)and should be dealt accordingly. Why it is treated separately all over the specs ?
Also I'm having a tough time understanding the exception from methods in CMT beans.
Can someone enumerate the important portions in the "Exception handling" chapter ? In how much detail we need to know ?
Thanks, Sudd
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!